Closed
Description
System Details
- Operating system name and version:
Windows 10 version 1803 build 17134.285 - VS Code version:
1.27.2 (user setup) - PowerShell extension version:
v1.8.4 - Output from
$PSVersionTable
:
Name | Value |
---|---|
PSVersion | 5.1.17134.228 |
PSEdition | Desktop |
PSCompatibleVersions | {1.0, 2.0, 3.0, 4.0...} |
BuildVersion | 10.0.17134.228 |
CLRVersion | 4.0.30319.42000 |
WSManStackVersion | 3.0 |
PSRemotingProtocolVersion | 2.3 |
SerializationVersion | 1.1.0.1 |
Copy / paste the following commands into the PowerShell Integrated Console, and paste the output here:
> code -v
1.27.2
f46c4c469d6e6d8c46f268d1553c5dc4b475840f
x64
> $pseditor.EditorServicesVersion <- no output
> code --list-extensions --show-versions
[createInstance] extensionManagementService depends on downloadService which is NOT registered.
[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]
[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]
> $PSVersionTable
Name Value
---- -----
PSVersion 5.1.17134.228
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.17134.228
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Issue Description
When I attempt to run the debugger on a powershell script, I get an error saying
Debug adapter has terminated unexpectedly
If I hit F8, I get the error:
command 'PowerShell.RunSelection' not found
Attached Logs
Followed the instructions for collecting logs in the README, but there are no log files being generated. Log directory does not exist under $HOME.vscode\extensions\ms-vscode.powershell-1.8.4
EDIT
Created logs directory, and DebugAdapter.log was generated successfully.
DebugAdapter.log
Additionally, running the command
Open PowerShell Extension Logs Folder
returns the error
command 'PowerShell.OpenLogFolder' not found
Troubleshooting steps taken
- Removed the powershell extension from vscode and reinstalled
Not really sure what else to do. Any guidance would be appreciated.