Permalink
Browse files

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 <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information...
bnoordhuis committed Apr 18, 2017
1 parent ee0620b commit e0b076a9499497f6e9a514ea0f49ed09ad7992c3
Showing with 3 additions and 3 deletions.
  1. +1 −1 lib/module.js
  2. +1 −1 src/node.cc
  3. +1 −1 test/inspector/test-inspector.js
View
@@ -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;
View
@@ -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()));
}
@@ -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' },

0 comments on commit e0b076a

Please sign in to comment.