Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
lib: Fix swallowed events in inspect integration
PR-URL: #11869
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
Jan Krems authored and italoacasas committed Mar 20, 2017
1 parent 9cc712c commit fbbcd1a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/internal/bootstrap_node.js
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 fbbcd1a

Please sign in to comment.