Skip to content

Commit

Permalink
lib: Fix swallowed events in inspect integration
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Krems committed Mar 15, 2017
1 parent c3ded73 commit 43bd1db
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/internal/bootstrap_node.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@

} else if (process.argv[1] === 'inspect') {
// Start the debugger agent
NativeModule.require('node-inspect/lib/_inspect').start();
process.nextTick(function() {
NativeModule.require('node-inspect/lib/_inspect').start();
});

} else if (process.argv[1] === '--remote_debugging_server') {
// Start the debugging server
Expand Down

0 comments on commit 43bd1db

Please sign in to comment.