You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow disabling the "The PowerShell Extension terminal has stopped" notifications #5336
I have searched all issues to ensure it has not already been reported.
Summary
While the "The PowerShell Extension terminal has stopped" notifications make sense to inform users about IntelliSense not working, they clutter up my notifications all the time. Especially since the PowerShell Extension terminal pops up way more often by now because it spawns when Copilot mentions some PowerShell code.
I'd really like to be able to turn this off so my notifications can stay clean as I know what I'm doing by closing it.
Proposed Design
There should be a setting to turn off these notifications
Reacted by Jimmy Zhening Luo, O l e s C h r i, Ilya Borisov, Leo Mozoloa, Anton Lange and Wellington
This also feels like a regression that started appearing a few months ago: I have the same setup for 3+ years, I aggressively restart all terminals, and I relaunch PowerShell. I use the PowerShell session solely for IDE support, while doing main dev in the Windows Terminal pwsh integrated console. This worked fine for years, but a few months ago, I started getting that error flyout whenever I restarted my terminals. From the log, it makes perfect sense: the flyout triggers upon process termination and should not care that a new session launched right after. So, in that sense, it's a helpful new feature, not a regression, but it's also quite annoying:
2025-11-25 23:44:37.773 [warning] PowerShell process terminated or Extension Terminal was closed, PID: 29744
2025-11-25 23:44:37.773 [error] The PowerShell Extension Terminal has stopped, would you like to restart it? IntelliSense and other features will not work without it!
2025-11-25 23:44:37.821 [info] Restarting session...
2025-11-25 23:44:37.839 [info] Starting 'PowerShell (x64)' at: C:\Program Files\PowerShell\7\pwsh.exe
2025-11-25 23:44:38.833 [info] PowerShell process started with PID: 13172
2025-11-25 23:44:39.988 [info] Started PowerShell v7.5.4.
My console relaunching command (which I need because reasons):
That said, I think my usecase is quite in the weeds and as I bothered to write a keyboard shortcut for it, I was able to remedy simply by adding notifications.clearAll:
Jacob Pfundstein (@CanePlayz) I was going to suggest you do the same but then I saw that you actually don't want a PowerShell editor services session at all? If that's the case why don't you just disable the extension? I might be wrong but I am not sure the extension is actually doing anything for you if you purposely keep it off, and it will certainly resolve this issue for you.
This is such an annoying anti-feature that I resorted to disabling the extension, ignoring the notification from it just doesn't work. Any updates on PR merge?
This is making me crazy. I get so many of those, and have tried everything to turn them off. I like the powershell debugger, and i make a code change and need a fresh terminal so i can import my psm1 fresh (again) So i kill the existing terminal and let the run debug, and let that start the new one.. 3 more errors pop up, no way to avoid this, no way to turm them off and they NEVER expire and turn off.
We can look into it but as a workaround I'd recommend choosing the option to background the extension terminal. intellisense and everything will still work but you won't be able to accidentally close it and get the error.
The error is necessary because the extension features stop working if the powershell is closed, so if you hide it, you wont have to worry about it. You can always run a command to bring it to the foreground if you have a particular task that has to happen in the extension terminal.
Happy to take further feedback on this. I personally typically run with the terminal backgrounded and I rarely see the restart prompt unless I'm intentionally crashing it.
Jacob Pfundstein (@CanePlayz) , Andy Jordan (@andyleejordan) - will try the previiew out shortly; and the new config settting. I really felt like i had hit dead end of frustration. Thanks for the speedy reply, I'll let you know what I discover, once I have time to get back to it.
Activity
jimmy-zhening-luo commentedon Nov 26, 2025
This also feels like a regression that started appearing a few months ago: I have the same setup for 3+ years, I aggressively restart all terminals, and I relaunch PowerShell. I use the PowerShell session solely for IDE support, while doing main dev in the Windows Terminal pwsh integrated console. This worked fine for years, but a few months ago, I started getting that error flyout whenever I restarted my terminals. From the log, it makes perfect sense: the flyout triggers upon process termination and should not care that a new session launched right after. So, in that sense, it's a helpful new feature, not a regression, but it's also quite annoying:
My console relaunching command (which I need because reasons):
{ "key": "alt+[Backquote]", "command": "runCommands", "args": { "commands": [ "workbench.action.terminal.killAll", "workbench.action.terminal.new", "PowerShell.RestartSession", ], }, "when": "!terminalEditorFocus && activeEditor != terminalEditor && viewContainer.workbench.view.extension.PowerShell.enabled", },That said, I think my usecase is quite in the weeds and as I bothered to write a keyboard shortcut for it, I was able to remedy simply by adding
notifications.clearAll:{ "key": "alt+[Backquote]", "command": "runCommands", "args": { "commands": [ "workbench.action.terminal.killAll", "workbench.action.terminal.new", "PowerShell.RestartSession", "notifications.clearAll", ], }, "when": "!terminalEditorFocus && activeEditor != terminalEditor && viewContainer.workbench.view.extension.PowerShell.enabled", },Jacob Pfundstein (@CanePlayz) I was going to suggest you do the same but then I saw that you actually don't want a PowerShell editor services session at all? If that's the case why don't you just disable the extension? I might be wrong but I am not sure the extension is actually doing anything for you if you purposely keep it off, and it will certainly resolve this issue for you.
CanePlayz commentedon Nov 26, 2025
Well I do want the syntax highlighting and such in the editor, just want to be able to disable the notifications upon closing the services
Klaster1 commentedon Mar 27, 2026
This is such an annoying anti-feature that I resorted to disabling the extension, ignoring the notification from it just doesn't work. Any updates on PR merge?
rchott commentedon Jun 3, 2026
This is making me crazy. I get so many of those, and have tried everything to turn them off. I like the powershell debugger, and i make a code change and need a fresh terminal so i can import my psm1 fresh (again) So i kill the existing terminal and let the run debug, and let that start the new one.. 3 more errors pop up, no way to avoid this, no way to turm them off and they NEVER expire and turn off.
Reminds me of browsing porn sites in the mid 90s
JustinGrote commentedon Jun 4, 2026
We can look into it but as a workaround I'd recommend choosing the option to background the extension terminal. intellisense and everything will still work but you won't be able to accidentally close it and get the error.
The error is necessary because the extension features stop working if the powershell is closed, so if you hide it, you wont have to worry about it. You can always run a command to bring it to the foreground if you have a particular task that has to happen in the extension terminal.
Happy to take further feedback on this. I personally typically run with the terminal backgrounded and I rarely see the restart prompt unless I'm intentionally crashing it.
andyleejordan commentedon Jun 4, 2026
rchott is it somewhat better in the preview? We finally got the updated API so we only make one notification now, not three.
CanePlayz commentedon Jun 4, 2026
Does this
"powershell.integratedConsole.suppressTerminalStoppedNotification": true,help? Just encountered it for the first time.Update: It does indeed seem to suppress the notification.
andyleejordan commentedon Jun 5, 2026
Yup! And in the preview at least it should enable itself when you choose that button on the notification.
CanePlayz commentedon Jun 5, 2026
Yup, thanks!
rchott commentedon Jun 10, 2026
Jacob Pfundstein (@CanePlayz) , Andy Jordan (@andyleejordan) - will try the previiew out shortly; and the new config settting. I really felt like i had hit dead end of frustration. Thanks for the speedy reply, I'll let you know what I discover, once I have time to get back to it.