microsoft / microsoft/vscode-python-debugger
`command:pickArgs` behaves differently as value vs array
未关闭
@rchiodo 已经在做这个了。
开始于 2026年2月25日。
triage-needed
- 主要语言
- TypeScript
- 星标
- 181
- 派生
- 126
- 平均合并
- 2 天 3 小时
- 30 天内合并 PR
- 3
描述
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
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
评估
这个 Issue 还没有评估数据。