File tree 1 file changed +4
-4
lines changed
src/PowerShellEditorServices.Protocol/Server
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -461,7 +461,7 @@ await requestContext.SendErrorAsync(
461
461
}
462
462
463
463
// Clear any existing breakpoints before proceeding
464
- await ClearSessionBreakpointsAsync ( ) ;
464
+ await ClearSessionBreakpointsAsync ( ) . ConfigureAwait ( false ) ;
465
465
466
466
// Execute the Debug-Runspace command but don't await it because it
467
467
// will block the debug adapter initialization process. The
@@ -470,9 +470,9 @@ await requestContext.SendErrorAsync(
470
470
int runspaceId = attachParams . RunspaceId > 0 ? attachParams . RunspaceId : 1 ;
471
471
_waitingForAttach = true ;
472
472
Task nonAwaitedTask =
473
- _editorSession . PowerShellContext
474
- . ExecuteScriptStringAsync ( $ "\n Debug-Runspace -Id { runspaceId } ")
475
- . ContinueWith ( OnExecutionCompletedAsync ) ;
473
+ _editorSession . PowerShellContext
474
+ . ExecuteScriptStringAsync ( $ "\n Debug-Runspace -Id { runspaceId } ")
475
+ . ContinueWith ( OnExecutionCompletedAsync ) ;
476
476
477
477
await requestContext . SendResultAsync ( null ) ;
478
478
}
You can’t perform that action at this time.
0 commit comments