Closed
Description
System Details
- Operating system name and version: Windows 7 (64-bit)
- VS Code version: 1.10.2
- PowerShell extension version: 0.11
- Output from
$PSVersionTable
:
Name Value
---- -----
PSVersion 5.0.10586.117
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.10586.117
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Issue Description
When debugging with multiple VSCode windows open (both with PowerShell), the debugging may not be performed in the correct window.
Steps to reproduce:
- Open a VSCode window and load a PowerShell file. Wait for the Integrated Terminal to start.
- Open a second VSCode window and load a different PowerShell file. Wait for the Integrated Terminal to start.
- Start the debugger for the PowerShell in the first window. The script will be executed in the Integrated Terminal of the second window.