Support custom ports for V8 Inspector (#4508)

This commit is contained in:
Andy Kant 2016-09-12 14:00:02 -05:00 committed by Daniel Tschinder
parent 41f2bbc104
commit 5e9e659a7f

View File

@ -47,6 +47,7 @@ getV8Flags(function (err, v8Flags) {
case "debug":
case "--debug":
case "--debug-brk":
case "--inspect":
args.unshift(arg);
break;
@ -54,7 +55,6 @@ getV8Flags(function (err, v8Flags) {
args.unshift("--expose-gc");
break;
case "--inspect":
case "--nolazy":
args.unshift(flag);
break;