microsoft / microsoft/vscode-python-debugger

`command:pickArgs` behaves differently as value vs array

Offen
#635 10 Kommentare 2 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@rchiodo arbeitet bereits daran.

Seit 25.2.2026.

triage-needed
Vorherrschende Sprache
TypeScript
Sterne
181
Forks
126
Ø Merge
2 T. 3 Std.
Gemergte PRs (30 T.)
3

Beschreibung

In particular,

"args": "${command:pickArgs}",

has a different behaviour with respect to

"args": ["${command:pickArgs}"],

In particular, in one case the full program command path (e.g. C:\Program Files\Python312) does not get escaped, in the other case it gets proper escaping, causing Visual Studio Code to fail because of the spaces.

I don't know if args parameter cannot be specified in both these ways but I think that program path must be quoted the same way in both cases to avoid these kind of issues.

Edit: output is similar to what was already attached in the opening post.

Thanks!

Originally posted by @fgiancane8 in #351

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.