From a40ffd7e627f0559d1a736f59b3a4c6bdcaf87ac Mon Sep 17 00:00:00 2001 From: simov Date: Wed, 6 Jul 2016 12:30:04 +0300 Subject: [PATCH] Exclude the --inspect flag --- bin/mocha | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/mocha b/bin/mocha index f6606e49b5..c0030559a0 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;