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
Debug process didn't close after finish debugging #1788
Hey @pitosalas , it seems that your configuration is not correct. Which can not find the node.js binary? Is there any error popup shows up? Anyway, please move the node-debugger conversation to https://github.com/kiddkai/atom-node-debugger.
I can confirm that this bug is present in v4, v5, and v0.12. v0.10 appears to work as expected (assuming the exepcted behavior is that the debugger informs you of the program terminating
Reacted by João Moreno, Matt Bierner, Muhammad M. ElTaweel, Dan Minshew and Vasiliy Taranov
Overall I am very happy with the debugging progress in Node. Using the --inspect flag and chrome devtools is an immense boost in productivity. Thanks @jasnell@bnoordhuis and all. ✨🙏✨
The above issue in the VS Code repo led me to this node.js issue. I can't say for certain whether the problem is with VS Code or node.js. Based on the conversations in both issues it seems more likely that is a node.js problem.
@millermatt Right, but that was with the old debugger, which has been removed. The inspector (the new debugger) is completely different so it's unlikely to be the same issue.
I'd take this up with the VS Code people first. If it does turn out to be a node.js issue, file a new issue and I'll take a look.
Activity
brendanashworth commentedon Jun 17, 2015
cross-ref: nodejs/node-v0.x-archive#25358
i'll mark as
confirmed-bugbecause the joyent folks seem to have alsopitosalas commentedon Jul 13, 2015
Trying it on mac, latest atom, Node 0.12.4, and it doesn't seem to work. F5 just says "finish debugging :) "
kiddkai commentedon Jul 13, 2015
Hey @pitosalas , it seems that your configuration is not correct. Which can not find the node.js binary? Is there any error popup shows up? Anyway, please move the
node-debuggerconversation to https://github.com/kiddkai/atom-node-debugger.Here is the issues for io.js.
micene09 commentedon Sep 30, 2015
Hi, i don't know how...and why...but all shortcuts are disabled.
I don't see any "Enable" checkbox in settings page, what can you do to fix it ?
OS: Windows 7 64bit
Ty
bnoordhuis commentedon Oct 29, 2015
#2778 got reverted in 9b02442 so this issue is still relevant.
johnelliott commentedon Jan 8, 2016
This is frustrating me too. I end up restarting my terminal (iTerm2 on this machine) to get out and start again...
lhyhfut commentedon Feb 3, 2016
OS: OS X EI Capitian
my Node Path: "/Users/liuhongyu/.nvm/versions/node/v4.0.0/bin/node"
error: node executable could not be found
mithung commentedon Feb 29, 2016
All shortcuts are disabled.I am using Windows 7 64 bit system.
Can someone help me out.
jasnell commentedon Mar 9, 2016
It's possible that this was fixed recently in v5 and master. Can anyone confirm?
jasnell commentedon Apr 2, 2016
Nope, still an issue unfortunately. /cc @thealphanerd
MylesBorins commentedon Apr 2, 2016
assigned to myself... will dig in next week
MylesBorins commentedon Apr 5, 2016
I can confirm that this bug is present in v4, v5, and v0.12. v0.10 appears to work as expected (assuming the exepcted behavior is that the debugger informs you of the program terminating
10 remaining items
mattflix commentedon May 31, 2017
@jasnell, so this is fixed in the new debugger?
I am using Visual Studio Code. Do you have any pointers for using the new debugger with it?
Just install node 8.0?
bnoordhuis commentedon May 31, 2017
@mattflix It's covered in their documentation here: https://code.visualstudio.com/docs/nodejs/nodejs-debugging
johnelliott commentedon May 31, 2017
I see no problem closing the issue.
Overall I am very happy with the debugging progress in Node. Using the --inspect flag and chrome devtools is an immense boost in productivity. Thanks @jasnell @bnoordhuis and all. ✨🙏✨
unbornchikken commentedon Jun 22, 2017
I'm still having this issue by using VS Code 1.13.1 / Node 8.1.1. If I run a gulp task, it won't get finished until I stop the debugger.
marshallswain commentedon Jun 22, 2017
I confirm the same problem with code 1.13.1 and node v8.1.2
millermatt commentedon Jun 26, 2017
Still a problem in node v8.1.2. Please re-open. @jasnell
bnoordhuis commentedon Jun 26, 2017
What is? Please be specific.
millermatt commentedon Jun 26, 2017
Actual behavior
debug session does not stop when node script has finished running
Expected behavior
when a node script has finished running, the debug session should end
Steps to reproduce
console.log('test');OS: Ubuntu 17.10 & MacOS Sierra
Node: v8.1.2
Editor: Visual Studio Code 1.13.1
@bnoordhuis
bnoordhuis commentedon Jun 27, 2017
@millermatt Thanks. Is there reason to assume it's a node.js issue? It sounds like a tooling issue in VS Code.
millermatt commentedon Jun 27, 2017
microsoft/vscode#5831 (comment)
The above issue in the VS Code repo led me to this node.js issue. I can't say for certain whether the problem is with VS Code or node.js. Based on the conversations in both issues it seems more likely that is a node.js problem.
@bnoordhuis
bnoordhuis commentedon Jun 28, 2017
@millermatt Right, but that was with the old debugger, which has been removed. The inspector (the new debugger) is completely different so it's unlikely to be the same issue.
I'd take this up with the VS Code people first. If it does turn out to be a node.js issue, file a new issue and I'll take a look.
millermatt commentedon Jun 29, 2017
@bnoordhuis Good call - looks like they have a fix for the next release. microsoft/vscode-node-debug2#11
filmerjarred commentedon Jul 20, 2017
For anyone googling, couldn't make the process exit with process.exit() when debugger was attached, but process.kill(process.pid) worked
georgeionita commentedon Oct 12, 2017
This still happens with node 8.7.0 under Webstorm debugging. Seems to be related to node rather than the IDE.
MylesBorins commentedon Oct 16, 2017
@georgeionita can you give detailed steps to reproduce?