Skip to content

Commit 17d0045

Browse files
elibenhyangah
authored andcommitted
debug: implement new prototype thin DA for delve
Updates #23 This DA serves as a DAP proxy between the editor and a DAP-capable Delve. Right now all it does is launch Delve (in DAP mode) when LaunchRequest is received from the editor, and then relays all messages between the editor and Delve back and forth. package.json section is copied from the current DA as-is. Some of its options will be removed and cleaned up in the subsequent PRs to make the diffs more obvious (see #271). Change-Id: I3493c5ee1d9e80071a17ea32c04a15eb021c8006 GitHub-Last-Rev: ddd68dc GitHub-Pull-Request: #267 Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/240417 Reviewed-by: Polina Sokolova <[email protected]> Reviewed-by: Hyang-Ah Hana Kim <[email protected]>
1 parent f86031f commit 17d0045

File tree

7 files changed

+1170
-1
lines changed

7 files changed

+1170
-1
lines changed

.vscode/launch.json

+15
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,21 @@
3434
],
3535
"preLaunchTask": "npm"
3636
},
37+
{
38+
"name": "Launch as server (dlv dap)",
39+
"type": "node",
40+
"protocol": "inspector",
41+
"request": "launch",
42+
"program": "${workspaceFolder}/out/src/debugAdapter2/goDlvDebugMain.js",
43+
"args": [
44+
"--server=4711"
45+
],
46+
"sourceMaps": true,
47+
"outFiles": [
48+
"${workspaceFolder}/out/**/*.js"
49+
],
50+
"preLaunchTask": "npm"
51+
},
3752
{
3853
"name": "Launch Extension Tests",
3954
"type": "extensionHost",

0 commit comments

Comments
 (0)