We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bed8cc3 commit 347f500Copy full SHA for 347f500
src/PowerShellEditorServices/Services/DebugAdapter/BreakpointSyncService.cs
@@ -694,7 +694,9 @@ private static SyncedBreakpoint CreateFromServerBreakpoint(Breakpoint serverBrea
694
if (clientBreakpoint.Location is not null)
695
{
696
kind = SyncedBreakpointKind.Line;
697
- script = clientBreakpoint.Location.Uri.GetFileSystemPath();
+ script = clientBreakpoint.Location.Uri.Scheme is "untitled"
698
+ ? clientBreakpoint.Location.Uri.ToString()
699
+ : clientBreakpoint.Location.Uri.GetFileSystemPath();
700
line = clientBreakpoint.Location.Range.Start.Line + 1;
701
column = clientBreakpoint.Location.Range.Start.Character is int c and not 0 ? c : 0;
702
}
0 commit comments