microsoft / microsoft/vscode-java-debug
Process Picker broken when JVM binds to random port
未关闭
还没有人认领这个 Issue。
ai-triaged
bug
ux
- 主要语言
- TypeScript
- 星标
- 591
- 派生
- 429
- 平均合并
- 1 天 9 小时
- 30 天内合并 PR
- 19
描述
When port conflicts occur, a user may choose to let the JVM bind to a random port by omitting the [address attribute] (https://docs.oracle.com/cd/E19501-01/819-3664/abgdm/index.html) or by passing address=0 as command-line arguments. This breaks the process picker because it matches on address, which is either missing or its value is 0:
A workaround is to let users manually enter the port: https://github.com/tlaplus/CommunityModules/commit/fa56d3fd1bd29dbfc9449a2cf711259ade5abbfc
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 src/processPicker.ts 第 9 行开始,使用省略的地址或 address=0 通过 JVM 重现 picker。跟踪 picker 如何匹配进程,并让随机端口的情况可以被选择,而不是失败;验证用户不再需要手动输入端口。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java, typescript
- 领域
- devtools
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 42/100