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
When closing a workspace in VS Code, any running Node.js processes (debug sessions, terminals, etc.) are only properly terminated if another VS Code window/workspace is open during the closure. Otherwise, all Node processes continue running in the background.
Steps to Reproduce
Open VS Code
Open a workspace containing a Node.js project
Start multiple Node.js processes
Close the workspace while no other VS Code windows are open
Check running processes (e.g. using Task Manager or ps aux | grep node)
Repeat steps 1-5, but this time have another VS Code window open while closing the workspace
Expected Behavior
All Node.js processes should terminate automatically when the workspace is closed, regardless of other open VS Code windows.
Environment
VS Code Version: Latest Insider Build and current (1.95.3)
OS: Windows 11
Terminal: PowerShell (integrated)
Extensions: All disabled
Node.js Version: v22.11.0
Impact
Multiple Node processes consume significant system resources
Processes accumulate if users frequently close/open workspaces
Manual cleanup required for multiple processes
Port conflicts when restarting projects due to lingering servers
Memory leaks from multiple abandoned processes
The text was updated successfully, but these errors were encountered:
When closing a workspace in VS Code, any running Node.js processes (debug sessions, terminals, etc.) are only properly terminated if another VS Code window/workspace is open during the closure. Otherwise, all Node processes continue running in the background.
Steps to Reproduce
Expected Behavior
All Node.js processes should terminate automatically when the workspace is closed, regardless of other open VS Code windows.
Environment
VS Code Version: Latest Insider Build and current (1.95.3)
OS: Windows 11
Terminal: PowerShell (integrated)
Extensions: All disabled
Node.js Version: v22.11.0
Impact
The text was updated successfully, but these errors were encountered: