diff --git a/tools/inspector.js b/tools/inspector.js index f9f625ab80..b4265c8b72 100644 --- a/tools/inspector.js +++ b/tools/inspector.js @@ -145,7 +145,7 @@ DEp.connectToChildProcess = function connectToChildProcess(child) { // port (not debugPort!), and create a connection to that port so that // the child process can communicate with node-inspector. child.stderr.on("data", function onData(buffer) { - var match = /debugger listening on port (\d+)/ + var match = /debugger listening on port (\d+)/i .exec(buffer.toString("utf8")); if (match) { child.stderr.removeListener("data", onData);