mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
DebugEntry - Make debugging work with node-inspector v0.12.5.
The matching of the `debug listening on port` message was broken when v0.12.5 of node-inspector changed the capitalisation of "debug" to "Debug". The matching is now case-insensitive.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user