-
Notifications
You must be signed in to change notification settings - Fork 29.3k
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
Stopping or restarting node.js debugger crashes vscode #14187
Comments
Could you try with |
@aheitzmann It is possible that this issue is caused by an installed extension. Can you try to run VS Code without extensions? From the command line, execute: @roblourens node-debug2 shows the same behaviour: app.js does not terminate properly but crashing does not occur. |
That part is expected because of this bug unfortunately - microsoft/vscode-node-debug2#11 |
@weinand Unfortunately the crash does not reproduce when vscode is launched from the command line. I get the "Assertion `(err) == (0)' failed" error in that case whether or not --disable-extensions is specified. I tried simply uninstalling all of my extensions, and the crash still reproduces when launched from the finder. My user settings are
and I'm attaching a zip of the project in case that helps with the repro. |
@roblourens The crash also reproduces with the |
@roblourens The crash also reproduces with the latest vscode insiders build. |
I've started seeing this issue as well with vscode 1.8.1, El Capitan, node version 6.9.1 Has anyone else experienced this? Since the last update to this issue was in October. |
Please try the latest VS Code and a recent version of node.js. If the problem still exists, we can reopen this issue. |
Steps to Reproduce:
node app.js
Expected behavior: "hello world" is printed to the console. No breakpoints are set, so the program runs and terminates, and the debugger detaches automatically.
Actual behavior: "hello world" is printed to the console. The debugger stays attached.
Expected behavior: The debugger detaches and vscode exits debug mode.
Actual behavior: Nothing happens for about 10 seconds, then vscode crashes.
Possible clue
If vscode was launched from the command line with
code
(see the shell command setup here https://code.visualstudio.com/docs/setup/mac)
Then step 7 produces the following output in the debug console, and vscode does not crash.
The text was updated successfully, but these errors were encountered: