Skip to content

Commit 59f0ecb

Browse files
Fixes no prompt showing up (#1097)
* fixes no prompt * named param Co-Authored-By: Robert Holt <rjmholt@gmail.com>
1 parent 0d0ad5b commit 59f0ecb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/PowerShellEditorServices/Services/PowerShellContext/PowerShellContextService.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2324,6 +2324,9 @@ private void OnDebuggerStop(object sender, DebuggerStopEventArgs e)
23242324
_languageServer.SendNotification("powerShell/startDebugger");
23252325
}
23262326

2327+
// We've hit a breakpoint so go to a new line so that the prompt can be rendered.
2328+
this.WriteOutput("", includeNewLine: true);
2329+
23272330
if (CurrentRunspace.Context == RunspaceContext.Original)
23282331
{
23292332
StartCommandLoopOnRunspaceAvailable();

0 commit comments

Comments
 (0)