Powershell.ShowSessionMenu failed
See original GitHub issueSystem Details
System Details Output
OS Name : Microsoft Windows 10 Enterprise
OS Version : 10.0.19041 N/A Build 19041
OS Manufacturer : Microsoft Corporation
OS Configuration : Member Workstation
OS Build Type : Multiprocessor Free
PSVersion 5.1.19041.1
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.19041.1
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
VSCODE Insider 1.51.0
PS Preview: 2020.9.0
Issue Description
The information pain shows “Starting Powershell Session Menu” and an error inside: “Running the contributed command: ‘PowerShell.ShowSessionMenu’ failed.”
Should note, when disabling the preview powershell extension, and enabling the version 2020.6.0 this problem goes away
Already followed this thread and set execution policy of the current user to unrestricted without any luck. https://github.com/PowerShell/vscode-powershell/issues/2895
Expected Behaviour
The Powershell language server should load with no errors
Actual Behaviour
Seems not all functionality of powershell extension is available in this state.
Attached Logs
Issue Analytics
- State:
- Created 3 years ago
- Comments:14 (1 by maintainers)
Top Results From Across the Web
PowerShell/vscode-powershell - Gitter
ShowSessionMenu ' failed." ArtisanByteCrafter (slack) using v2020.6.1. ArtisanByteCrafter (slack) 7.0 works ok. PowerShell Connect. @PoshConnect_twitter.
Read more >Visual Studio Code Powershell startup failure - Stack Overflow
Cannot debug or run a Powershell script until the PowerShell session has started. Wait for PowerShell session to finish starting and try again....
Read more >Fixing Visual Studio Code Failed to Run PowerShell Scripts
After a Visual Studio Code update the other day, all the PowerShell scripts refusing to run due to a "Language server startup failed"....
Read more >Using Visual Studio Code for PowerShell Development
Visual Studio Code with the PowerShell extension is the ... Language server startup failed. ... Click on PowerShell: Show Session Menu.
Read more >PowerShell editing with Visual Studio Code
Or run the PowerShell: Show Session Menu command from the Command Palette (Ctrl+Shift+P). CodeLens support. CodeLenses are a VS Code feature to ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have similar thing, Powershell.ShowSessionMenu. I think since September.
I too am seeing this issue running on a Mac. Using the PowerShell extension, V2020.6.0 and Code version 1.51.1
11/18/2020 5:06:44 PM [NORMAL] - pwsh started. 11/18/2020 5:06:44 PM [NORMAL] - Waiting for session file 11/18/2020 5:06:46 PM [NORMAL] - Session file found 11/18/2020 5:06:46 PM [NORMAL] - Registering terminal close callback 11/18/2020 5:06:46 PM [NORMAL] - Registering terminal PID log callback 11/18/2020 5:06:46 PM [NORMAL] - pwsh PID: 66908 11/18/2020 5:06:46 PM [NORMAL] - Language server started. 11/18/2020 5:06:46 PM [NORMAL] - {“status”:“started”,“languageServiceTransport”:“NamedPipe”,“languageServicePipeName”:“/var/folders/n0/8kfv8lw12p16vrk_3hw2lwlh0000gp/T/CoreFxPipe_PSES_g4o53b52.jcs”,“debugServiceTransport”:“NamedPipe”,“debugServicePipeName”:“/var/folders/n0/8kfv8lw12p16vrk_3hw2lwlh0000gp/T/CoreFxPipe_PSES_bhoz2wxg.vhw”} 11/18/2020 5:06:46 PM [NORMAL] - Connecting to language service on pipe /var/folders/n0/8kfv8lw12p16vrk_3hw2lwlh0000gp/T/CoreFxPipe_PSES_g4o53b52.jcs… 11/18/2020 5:06:46 PM [NORMAL] - Language service connected.