Skip to content

Commit

Permalink
Support --inspect-brk on command-line
Browse files Browse the repository at this point in the history
  • Loading branch information
igwejk committed Apr 16, 2017
1 parent b4ebabd commit 038c636
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions bin/_mocha
Expand Up @@ -91,6 +91,7 @@ program
.option('--icu-data-dir', 'include ICU data')
.option('--inline-diffs', 'display actual/expected differences inline within each string')
.option('--inspect', 'activate devtools in chrome')
.option('--inspect-brk', 'activate devtools in chrome and break on the first line')
.option('--interfaces', 'display available interfaces')
.option('--no-deprecation', 'silence deprecation warnings')
.option('--no-exit', 'require a clean shutdown of the event loop: mocha will not call process.exit')
Expand Down
1 change: 1 addition & 0 deletions bin/mocha
Expand Up @@ -28,6 +28,7 @@ process.argv.slice(2).forEach(function (arg) {
case '--debug':
case '--debug-brk':
case '--inspect':
case '--inspect-brk':
args.unshift(arg);
args.push('--no-timeouts');
break;
Expand Down

0 comments on commit 038c636

Please sign in to comment.