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 ·