Skip to content

Hitting F5 while powershell session is still initializing breaks debugger until vscode restart  #632

Closed
@clmcgrath

Description

@clmcgrath

System Details

  • Operating system name and version: Windows 10 Enterprise
  • VS Code version:
  • PowerShell extension version: 1.10.2
  • Output from $PSVersionTable:
Importing Visual Studio Tools..
Loading Visual Studio Command Line Tools...
Loading personal and system profiles took 2584ms.
PS ↑ [christopher.mcgrath] | C:\WINDOWS\system32>
PS ↑ [christopher.mcgrath] | C:\WINDOWS\system32> code -v
1.10.2
8076a19fdcab7e1fc1707952d652f0bb6c6db331
PS ↑ [christopher.mcgrath] | C:\WINDOWS\system32> $pseditor.EditorServicesVersion
PS ↑ [christopher.mcgrath] | C:\WINDOWS\system32> code --list-extensions --show-versions
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
PS ↑ [christopher.mcgrath] | C:\WINDOWS\system32> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      5.1.14393.953
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.14393.953
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Issue Description

If you are too fast hitting the F5 key after resetting a powershell session via command palette or on initial vscode startup the debugger craps out completely and can not start a debug session (at least via F5) until a full restart of vscode then it works fine again

Attached Logs

vscode-powershell.log.txt
EditorServices.log.txt

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions