diff --git a/lib/module.js b/lib/module.js index c4576a4bbdd654..91b891014fc666 100644 --- a/lib/module.js +++ b/lib/module.js @@ -528,7 +528,7 @@ Module.prototype.require = function(path) { // Resolved path to process.argv[1] will be lazily placed here -// (needed for setting breakpoint when called with --debug-brk) +// (needed for setting breakpoint when called with --inspect-brk) var resolvedArgv; diff --git a/src/node.cc b/src/node.cc index 4913147619e8a6..3efcfee2c757e4 100644 --- a/src/node.cc +++ b/src/node.cc @@ -3342,7 +3342,7 @@ void SetupProcessObject(Environment* env, READONLY_PROPERTY(process, "traceDeprecation", True(env->isolate())); } - // --debug-brk + // --inspect-brk if (debug_options.wait_for_connect()) { READONLY_PROPERTY(process, "_debugWaitConnect", True(env->isolate())); } diff --git a/test/inspector/test-inspector.js b/test/inspector/test-inspector.js index 5e41864755b08e..458c668953a360 100644 --- a/test/inspector/test-inspector.js +++ b/test/inspector/test-inspector.js @@ -89,7 +89,7 @@ function setupExpectValue(value) { function testBreakpointOnStart(session) { console.log('[test]', - 'Verifying debugger stops on start (--debug-brk option)'); + 'Verifying debugger stops on start (--inspect-brk option)'); const commands = [ { 'method': 'Runtime.enable' }, { 'method': 'Debugger.enable' },