We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e70d3b2 + 295c901 commit 1ff1618Copy full SHA for 1ff1618
src/PowerShellEditorServices.Protocol/Server/DebugAdapter.cs
@@ -79,7 +79,10 @@ protected Task LaunchScript(RequestContext<object> requestContext)
79
.ExecuteScriptAtPath(this.scriptPathToLaunch, this.arguments)
80
.ContinueWith(
81
async (t) => {
82
- Logger.Write(LogLevel.Verbose, "Execution completed, terminating...");
+ Logger.Write(LogLevel.Verbose, "Execution completed, flushing output then terminating...");
83
+
84
+ // Make sure remaining output is flushed before exiting
85
+ await this.outputDebouncer.Flush();
86
87
await requestContext.SendEvent(
88
TerminatedEvent.Type,
0 commit comments