vscode-powershell
vscode-powershell copied to clipboard
During closing VSCode, PowerShell Extension displays popup
Prerequisites
- [X] I have written a descriptive issue title.
- [X] I have searched all open and closed issues to ensure it has not already been reported.
- [X] I have read the troubleshooting guide.
- [X] I am sure this issue is with the extension itself and does not reproduce in a standalone PowerShell instance.
- [X] I have verified that I am using the latest version of Visual Studio Code and the PowerShell extension.
- [ ] If this is a security issue, I have read the security issue reporting guidance.
Summary
During closing VSCode, PowerShell Extension displays popup with the message "The PowerShell Extention Terminal has stopped..."
PowerShell Version
Name Value
---- -----
PSVersion 7.2.5
PSEdition Core
GitCommitId 7.2.5
OS Microsoft Windows 10.0.25163
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Visual Studio Code Version
1.69.2
3b889b090b5ad5793f524b5d1d39fda662b96a2a
x64
Extension Version
[email protected]
Steps to Reproduce
- Open VSCode
- Load PS script
- Close VSCode
- Popup with the message "The PowerShell Extention Terminal has stopped..." will appear, then VSCode will close itself.
Visuals

Logs
EditorServices.log StartEditorServices.log vscode-powershell.log Language Server Protocol payload logs.txt