Browse Source

lib: Fix swallowed events in inspect integration

PR-URL: https://github.com/nodejs/node/pull/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>
v6
Jan Krems 8 years ago
committed by James M Snell
parent
commit
704263139b
  1. 4
      lib/internal/bootstrap_node.js

4
lib/internal/bootstrap_node.js

@ -81,7 +81,9 @@
} else if (process.argv[1] === 'inspect') { } else if (process.argv[1] === 'inspect') {
// Start the debugger agent // 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') { } else if (process.argv[1] === '--remote_debugging_server') {
// Start the debugging server // Start the debugging server

Loading…
Cancel
Save