runInTerminal reverse-request missing cwd key
还没有人认领这个 Issue。
评估
调研方向
首先定位构造 DAP 反向请求 runInTerminal 的 Java 调试服务器代码,然后将其参数与链接的 DAP 规范进行比较。当请求包含必需的 cwd 键,并且相关的请求行为由项目的测试覆盖时,工作即完成。
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- Java
- 星标
- 409
- 派生
- 204
- 平均合并
- 1 天 13 小时
- 30 天内合并 PR
- 4
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/java-debug 的其他 Issue
-
ai-triaged bug
难度 4/5 3-5 天 新手友好度 35/100
microsoft/java-debug#611 · 2 条评论 ·
-
ai-triaged enhancement
难度 4/5 3-5 天 新手友好度 35/100
microsoft/java-debug#608 · 3 条评论 ·
-
ai-triaged question
难度 5/5 一周以上 新手友好度 30/100
microsoft/java-debug#597 · 1 条评论 ·
-
ai-triaged bug
难度 4/5 3-5 天 新手友好度 25/100
microsoft/java-debug#588 · 1 条评论 ·
-
ai-triaged question
难度 2/5 1-3 小时 新手友好度 35/100
microsoft/java-debug#582 · 1 条评论 ·
查看 microsoft/java-debug 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
-
bug
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 75/100
elastic/gradle-plugins#157 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
cryptomator/hub#497 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
johanhaleby/occurrent#1120 ·