microsoft / microsoft/java-debug
runInTerminal reverse-request missing cwd key
未关闭
还没有人认领这个 Issue。
ai-triaged
bug
needs more info
- 主要语言
- Java
- 星标
- 409
- 派生
- 204
- 平均合并
- 1 天 13 小时
- 30 天内合并 PR
- 4
描述
According to the DAP specification, the cwd key in the runInTerminal request is mandatory.
https://microsoft.github.io/debug-adapter-protocol/specification#Reverse_Requests_RunInTerminal
however, the java debug server sends the request without this key:
2018-12-20 00:03:04,861 - DEBUG - Message received: {'command': 'runInTerminal', 'arguments': {'kind': 'integrated', 'title': 'Java Debug Console', 'args': ['/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre/bin/java', '-agentlib:jdwp=transport=dt_socket,server=n,suspend=y,address=localhost:53159', '-Dfile.encoding=UTF-8', '-cp', '/Users/ben/.vim/bundle/vimspector/support/test/java/test_project/target/classes', 'com.vimspector.test.TestApplication', 'hello', 'world!']}, 'seq': 2, 'type': 'request'}
of course, clients could work around this, but it would be nice for the server to include the required parameter.
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先定位构造 DAP 反向请求 runInTerminal 的 Java 调试服务器代码,然后将其参数与链接的 DAP 规范进行比较。当请求包含必需的 cwd 键,并且相关的请求行为由项目的测试覆盖时,工作即完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java
- 领域
- devtools
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 描述清楚
- 新手友好度
- 45/100