Fix Node debugging by catching warning

This commit is contained in:
Thomas Hermann
2017-05-24 12:21:36 -04:00
committed by Steve Sanderson
parent b86e9f9254
commit c592282646

View File

@@ -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:");
}