Skip to content

During closing VSCode, PowerShell Extension displays popup #4101

Closed

Description

@ALIENQuake

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all open and closed issues to ensure it has not already been reported.
  • I have read the troubleshooting guide.
  • I am sure this issue is with the extension itself and does not reproduce in a standalone PowerShell instance.
  • 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

ms-vscode.powershell@2022.7.2

Steps to Reproduce

  1. Open VSCode
  2. Load PS script
  3. Close VSCode
  4. Popup with the message "The PowerShell Extention Terminal has stopped..." will appear, then VSCode will close itself.

Visuals

image

Logs

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

Activity

  1. ghost added
    Needs: TriageMaintainer attention needed!
    on Aug 1, 2022
  2. andyleejordan commented on Jun 16, 2026

    @andyleejordan
    Member

    This should be resolved as of the termination-experience rework in #5380 (follow-up fix in #5463). On current main, the "has stopped, would you like to restart it?" prompt is only shown while the session is actively Running/Busy. When VS Code is shutting down or the window reloads, the session is disposed first (status set to Stopping) before that path can run, so the popup no longer appears. #5380 also added a powershell.integratedConsole.suppressTerminalStoppedNotification setting and a "Don't Show Again" action to silence it entirely.

    I can no longer reproduce this on a reload/close. Closing as fixed — please reopen if you still see the popup on a recent preview build.

    🤖 Drafted by Copilot for Andy Jordan (@andyleejordan) to review/edit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions