diff --git a/src/Microsoft.AspNetCore.NodeServices/HostingModels/OutOfProcessNodeInstance.cs b/src/Microsoft.AspNetCore.NodeServices/HostingModels/OutOfProcessNodeInstance.cs index 8a4894c..443aacd 100644 --- a/src/Microsoft.AspNetCore.NodeServices/HostingModels/OutOfProcessNodeInstance.cs +++ b/src/Microsoft.AspNetCore.NodeServices/HostingModels/OutOfProcessNodeInstance.cs @@ -379,7 +379,7 @@ namespace Microsoft.AspNetCore.NodeServices.HostingModels { if (evt.Data != null) { - if (IsDebuggerMessage(evt.Data)) + if (_launchWithDebugging && IsDebuggerMessage(evt.Data)) { OutputLogger.LogWarning(evt.Data); }