-
Notifications
You must be signed in to change notification settings - Fork 29.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Node process started via debugger is not killed when quitting VSCode #126211
Comments
an attempt to help workaround this issue (but not solving it): I'm using a preLaunchTask that runs this script:
This ensures if I want to run the process next time I open VSCode, I don't need to check for and kill the previous process. |
I can reproduce: the debuggee node.js disappears, but the debug adapter's node.js stays around. Workaround: stop the debug session before quitting VS Code (Shift-F5). |
@jpike88 thanks a lot for creating this great issue 👏 fyi @bpasero for |
That sounds good to me:
Note: in web, there is no long running shutdown so you might see a warning appearing. |
@bpasero great! Maybe we should create a debt issue to go through all the |
I think I made that pass some time ago when I added these distinct events, but yeah wouldn't hurt. |
@isidorn what had changed in VS Code that resulted in this breakage? |
@weinand timing. We did not change code on our end. I am not sure when this broke exactly. |
So your use of the |
Correct. It was like that for more than a year. |
I've had trouble reproducing this on stable, and also didn't see it on Insiders. @jpike88 please let us know if you see this happening on Insiders. |
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
Configuration looks like this:
This bug is beyond frustrating, it makes using VSCode a chore. Please can this be fixed. Thanks
The text was updated successfully, but these errors were encountered: