microsoft / microsoft/vscode-python-debugger
`command:pickArgs` behaves differently as value vs array
@rchiodo is already working on this.
Since Feb 25, 2026.
- Dominant language
- TypeScript
- Stars
- 181
- Forks
- 126
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 3
Description
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
argsparameter 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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.