Skip to content

Commit

Permalink
lib,src,test: update --debug/debug-brk comments
Browse files Browse the repository at this point in the history
Overlooked in commit 47f8f74 ("src: remove support for --debug") from
earlier this month.

PR-URL: nodejs#12495
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
bnoordhuis committed Apr 21, 2017
1 parent ee0620b commit e0b076a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;


Expand Down
2 changes: 1 addition & 1 deletion src/node.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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()));
}
Expand Down
2 changes: 1 addition & 1 deletion test/inspector/test-inspector.js
Original file line number Diff line number Diff line change
Expand Up @@ -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' },
Expand Down

0 comments on commit e0b076a

Please sign in to comment.