Skip to content
This repository has been archived by the owner on Dec 4, 2023. It is now read-only.

Commit

Permalink
Merge pull request mochajs#2769 from igwejk/support_inspect_break_in_…
Browse files Browse the repository at this point in the history
…opts

Support `--inspect-brk` on command-line
  • Loading branch information
ScottFreeCode committed Apr 19, 2017
2 parents 21cdb8b + 902cee9 commit 20d8746
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 20d8746

Please sign in to comment.