Skip to content

Commit

Permalink
Merge pull request #2769 from igwejk/support_inspect_break_in_opts
Browse files Browse the repository at this point in the history
Support `--inspect-brk` on command-line
  • Loading branch information
ScottFreeCode authored Apr 19, 2017
2 parents b4ebabd + 038c636 commit e2c9514
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions bin/_mocha
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 e2c9514

Please sign in to comment.