From c5922826463565d4be9c38191c12f4ff5e7c9d57 Mon Sep 17 00:00:00 2001 From: Thomas Hermann Date: Wed, 24 May 2017 12:21:36 -0400 Subject: [PATCH] Fix Node debugging by catching warning --- .../HostingModels/OutOfProcessNodeInstance.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Microsoft.AspNetCore.NodeServices/HostingModels/OutOfProcessNodeInstance.cs b/src/Microsoft.AspNetCore.NodeServices/HostingModels/OutOfProcessNodeInstance.cs index 443aacd..7f6f172 100644 --- a/src/Microsoft.AspNetCore.NodeServices/HostingModels/OutOfProcessNodeInstance.cs +++ b/src/Microsoft.AspNetCore.NodeServices/HostingModels/OutOfProcessNodeInstance.cs @@ -405,6 +405,7 @@ namespace Microsoft.AspNetCore.NodeServices.HostingModels return message.StartsWith("Debugger attached", StringComparison.OrdinalIgnoreCase) || message.StartsWith("Debugger listening ", StringComparison.OrdinalIgnoreCase) || message.StartsWith("To start debugging", StringComparison.OrdinalIgnoreCase) || + message.Equals("Warning: This is an experimental feature and could change at any time.", StringComparison.OrdinalIgnoreCase) || message.Contains("chrome-devtools:"); }