Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

Exclude the --inspect flag

simova40ffd7e627f
diff --git a/bin/mocha b/bin/mocha
index f6606e49..c0030559 100755
--- a/bin/mocha
+++ b/bin/mocha
@@ -26,6 +26,7 @@ process.argv.slice(2).forEach(function(arg){
case 'debug':
case '--debug':
case '--debug-brk':
+ case '--inspect':
args.unshift(arg);
args.push('--no-timeouts');
break;