-
-
Notifications
You must be signed in to change notification settings - Fork 7.3k
debugger: also exit when the repl emits 'exit' #5637
Conversation
|
/cc @TooTallNate |
|
👍 This will help with a wrapper around the node debugger that I'm writing. |
lib/_debugger.js
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you use once() instead of on() so that you don't need to worry about removing the listener?
|
Ah, nevermind, using |
|
@cjihrig ... this is targeted at master. Do we want to push this off to nodejs/node or get this landed in v0.12? |
|
@jasnell let's take it to nodejs/node. |
|
@fb55... I know it's been a while, but are you willing to update this and open it against master in http://github.com/nodejs/node? |
|
@jasnell /done |
|
Thanks! |
Exit the debug repl when repl emits 'exit' Refs: nodejs/node-v0.x-archive#5637 Fixes: nodejs/node-v0.x-archive#5631 PR-URL: #2369 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Jeremiah Senkpiel <[email protected]> Reviewed-By: James M Snell <[email protected]>
Exit the debug repl when repl emits 'exit' Refs: nodejs/node-v0.x-archive#5637 Fixes: nodejs/node-v0.x-archive#5631 PR-URL: #2369 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Jeremiah Senkpiel <[email protected]> Reviewed-By: James M Snell <[email protected]>
Exit the debug repl when repl emits 'exit' Refs: nodejs/node-v0.x-archive#5637 Fixes: nodejs/node-v0.x-archive#5631 PR-URL: #2369 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Jeremiah Senkpiel <[email protected]> Reviewed-By: James M Snell <[email protected]>
Exit the debug repl when repl emits 'exit' Refs: nodejs/node-v0.x-archive#5637 Fixes: nodejs/node-v0.x-archive#5631 PR-URL: #2369 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Jeremiah Senkpiel <[email protected]> Reviewed-By: James M Snell <[email protected]>
Fixes #5631