Skip to content

Commit

Permalink
cluster: work with v8_inspector
Browse files Browse the repository at this point in the history
PR-URL: #6792
Reviewed-By: jasnell - James M Snell <[email protected]>
Reviewed-By: addaleax - Anna Henningsen <[email protected]>
Reviewed-By: bnoordhuis - Ben Noordhuis <[email protected]>
  • Loading branch information
cjihrig authored and Fishrock123 committed Jul 5, 2016
1 parent 7d4f038 commit c1bd3fe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/cluster.js
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,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) {
if (debugPort === 0) {
Expand Down

0 comments on commit c1bd3fe

Please sign in to comment.