Skip to content

Commit d864c89

Browse files
committed
WORKAROUND: Don't stop VSCode debugger after script execution
1 parent a99180d commit d864c89

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/PowerShellEditorServices/Services/DebugAdapter/Handlers/ConfigurationDoneHandler.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,8 @@ await _executionService.ExecutePSCommandAsync(
160160
CancellationToken.None,
161161
s_debuggerExecutionOptions).ConfigureAwait(false);
162162

163-
_debugAdapterServer?.SendNotification(EventNames.Terminated);
163+
//_debugAdapterServer?.SendNotification(EventNames.Terminated);
164+
_debugAdapterServer?.SendNotification(EventNames.LoadedSource); // WORKAROUND: Don't stop VSCode debugger after script execution
164165
}
165166
}
166167
}

0 commit comments

Comments
 (0)