debugger: call `this.resume()` after `this.run()` · nodejs/node@d8b902f · GitHub
Skip to content

Commit d8b902f

Browse files
lanceMylesBorins
authored andcommitted
debugger: call this.resume() after this.run()
When the debugger has started we need to call `this.resume` otherwise, the prompt won't appear. Fixes: #9854 PR-URL: #10099 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Rich Trott <rtrott@gmail.com>
1 parent bf882fb commit d8b902f

2 files changed

Lines changed: 14 additions & 1 deletion

File tree

lib/_debugger.js

Lines changed: 1 addition & 1 deletion

test/parallel/test-debug-prompt.js

Lines changed: 13 additions & 0 deletions

0 commit comments

Comments
 (0)