microsoft / microsoft/vscode-python-debugger
name filter for process picker
未关闭
还没有人认领这个 Issue。
feature-request
needs community feedback
- 主要语言
- TypeScript
- 星标
- 181
- 派生
- 126
- 平均合并
- 2 天 3 小时
- 30 天内合并 PR
- 3
描述
Hi!
When I use
{
"name": "Python Debugger: Attach using Process Id",
"type": "debugpy",
"request": "attach",
"processId": "${command:pickProcess}",
"justMyCode": false,
},
I get a list of all (?) processes on my computer that I can attach to. A lot of them, at least.
Typically, I attach to the same process name (but different path due to parallel builds)
Could we add for example a property like below to only list items matching path (or regex ?) below to pick from?
"processNameFilter":"*/build/myproc.exe"
Regards
Thomas
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从进程选择器的 ${command:pickProcess} 入口点开始,跟踪其配置的读取方式;issue 中没有指定源文件或测试。明确过滤器值和匹配行为,然后添加覆盖测试,展示匹配的进程会被列出,而其他进程会被排除。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python, typescript
- 领域
- devtools
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100