Skip to content

Commit e0b076a

Browse files
committed
lib,src,test: update --debug/debug-brk comments
Overlooked in commit 47f8f74 ("src: remove support for --debug") from earlier this month. PR-URL: #12495 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent ee0620b commit e0b076a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/module.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ Module.prototype.require = function(path) {
528528

529529

530530
// Resolved path to process.argv[1] will be lazily placed here
531-
// (needed for setting breakpoint when called with --debug-brk)
531+
// (needed for setting breakpoint when called with --inspect-brk)
532532
var resolvedArgv;
533533

534534

src/node.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -3342,7 +3342,7 @@ void SetupProcessObject(Environment* env,
33423342
READONLY_PROPERTY(process, "traceDeprecation", True(env->isolate()));
33433343
}
33443344

3345-
// --debug-brk
3345+
// --inspect-brk
33463346
if (debug_options.wait_for_connect()) {
33473347
READONLY_PROPERTY(process, "_debugWaitConnect", True(env->isolate()));
33483348
}

test/inspector/test-inspector.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ function setupExpectValue(value) {
8989

9090
function testBreakpointOnStart(session) {
9191
console.log('[test]',
92-
'Verifying debugger stops on start (--debug-brk option)');
92+
'Verifying debugger stops on start (--inspect-brk option)');
9393
const commands = [
9494
{ 'method': 'Runtime.enable' },
9595
{ 'method': 'Debugger.enable' },

0 commit comments

Comments
 (0)