From c892f7da35560c79d9a6a46b20607c4ecb4f812c Mon Sep 17 00:00:00 2001 From: SteveSandersonMS Date: Wed, 27 Jul 2016 09:50:43 +0100 Subject: [PATCH] Support debugging when on IPv6 network (Node's "Debugger listening" message is phrased differently there) --- .../HostingModels/OutOfProcessNodeInstance.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.AspNetCore.NodeServices/HostingModels/OutOfProcessNodeInstance.cs b/src/Microsoft.AspNetCore.NodeServices/HostingModels/OutOfProcessNodeInstance.cs index 01a9055..e85ed8c 100644 --- a/src/Microsoft.AspNetCore.NodeServices/HostingModels/OutOfProcessNodeInstance.cs +++ b/src/Microsoft.AspNetCore.NodeServices/HostingModels/OutOfProcessNodeInstance.cs @@ -251,7 +251,7 @@ If you haven't yet installed node-inspector, you can do so as follows: private static bool IsDebuggerListeningMessage(string message) { - return message.StartsWith("Debugger listening on port ", StringComparison.OrdinalIgnoreCase); + return message.StartsWith("Debugger listening ", StringComparison.OrdinalIgnoreCase); } private FileSystemWatcher BeginFileWatcher(string rootDir)