mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
cluster: work with v8_inspector
PR-URL: https://github.com/nodejs/node/pull/6792 Reviewed-By: jasnell - James M Snell <jasnell@gmail.com> Reviewed-By: addaleax - Anna Henningsen <anna@addaleax.net> Reviewed-By: bnoordhuis - Ben Noordhuis <info@bnoordhuis.nl>
This commit is contained in:
parent
84ad31fff3
commit
894203dae3
@ -304,7 +304,9 @@ function masterInit() {
|
||||
workerEnv.NODE_UNIQUE_ID = '' + id;
|
||||
|
||||
for (var i = 0; i < execArgv.length; i++) {
|
||||
var match = execArgv[i].match(/^(--debug|--debug-(brk|port))(=\d+)?$/);
|
||||
var match = execArgv[i].match(
|
||||
/^(--inspect|--debug|--debug-(brk|port))(=\d+)?$/
|
||||
);
|
||||
|
||||
if (match) {
|
||||
const debugPort = process.debugPort + debugPortOffset;
|
||||
|
Loading…
Reference in New Issue
Block a user