diff --git a/bin/mocha b/bin/mocha index 99bc18ae4d..6cbecc1f5b 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;