Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion src/features/DebugSession.ts
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,13 @@ export class SpecifyScriptArgsFeature implements vscode.Disposable {
if (text !== undefined) {
this.context.workspaceState.update(powerShellDbgScriptArgsKey, text);
}
return text;

// Add magic marker to denote we won't escape this argument, enabling it
// to be a multi-argument string. This is necessary because Code's API
// means that this command can only return a string, not a list of
// strings, and so multiple arguments will exist in a single string and
// we need PSES to not quote the string due to it containing spaces.
return "__psEditorServices_NoEscape_" + text;
}
}

Expand Down