| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Before we go into details, have you checked that it passes make test? |
Sorry, something went wrong.
|
Thanks. I've noticed this patch would cause some tests failed. I will try to fix that. |
Sorry, something went wrong.
Sorry, something went wrong.
|
Change itself LGTM but the commit log needs to confirm to the guidelines from CONTRIBUTING.md. |
Sorry, something went wrong.
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 Thanks for reminding the commit log format. |
Sorry, something went wrong.
|
ping @bnoordhuis I've updated the commit log. Any other comments? |
Sorry, something went wrong.
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>
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>
|
Just a heads up but this PR introduced a regression and I'm moving to revert it, please see #3585. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
For a simple javascript file:
console.log('debug');Run node debug a.js to launch debug process. Press first c and the program outputs > debug. After that, press c again the process just gets stuck and has no response so we have to kill it.
This is because debug handle has been unrefed. Once the program is finished, the event loop will be exited and the debug process will be stuck when debug sends commend again. We shouldn't unref the debug handle because even the script is finished, we can still send more debug command such as restart.
Fixes #1788.