From e0b076a9499497f6e9a514ea0f49ed09ad7992c3 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Tue, 18 Apr 2017 22:10:35 +0200 Subject: [PATCH] lib,src,test: update --debug/debug-brk comments Overlooked in commit 47f8f74 ("src: remove support for --debug") from earlier this month. PR-URL: https://github.com/nodejs/node/pull/12495 Reviewed-By: Colin Ihrig Reviewed-By: James M Snell --- lib/module.js | 2 +- src/node.cc | 2 +- test/inspector/test-inspector.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/module.js b/lib/module.js index c4576a4bbd..91b891014f 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 4913147619..3efcfee2c7 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 5e41864755..458c668953 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' },