Do not unref debug handle to avoid debug process stuck by viirya · Pull Request #2778 · nodejs/node

@mscdex added c++

Issues and PRs that require attention from people who are familiar with C++.

debugger labels

Sep 9, 2015

@viirya

The debug process running "node debug a.js" will be stuck when the
script ends. This is because the debug handler has been unrefed.
We shouldn't unref the debug handler to avoid this problem.

bnoordhuis pushed a commit that referenced this pull request

Oct 13, 2015
The debug process running "node debug a.js" will be stuck when the
script ends. This is because the debug handler has been unrefed.
We shouldn't unref the debug handler to avoid this problem.

PR-URL: #2778
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>

This was referenced

Oct 27, 2015

jasnell pushed a commit that referenced this pull request

Oct 28, 2015
The debug process running "node debug a.js" will be stuck when the
script ends. This is because the debug handler has been unrefed.
We shouldn't unref the debug handler to avoid this problem.

PR-URL: #2778
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>

This was referenced

Oct 29, 2015

@rvagg rvagg mentioned this pull request

Dec 17, 2015