You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Revert "docs: update the debugging doc about remote mode default adapter"
This reverts commit 5b0d6db.
Reason for revert: Need to address path mapping issue: #3175
Change-Id: Iade1d9f2438993025ac1ef5ec9ad6f1213d79ed6
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/580019
kokoro-CI: kokoro <noreply+kokoro@google.com>
Commit-Queue: Hyang-Ah Hana Kim <hyangah@gmail.com>
Reviewed-by: Robert Findley <rfindley@google.com>
Auto-Submit: Hyang-Ah Hana Kim <hyangah@gmail.com>
Copy file name to clipboardExpand all lines: docs/debugging-legacy.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
The Go extension historically used a small adapter program to work with the Go debugger, [Delve].
4
4
The extension transitioned to communicate with [Delve] directly but there are still cases you may
5
-
need to use the legacy debug adapter. This document explains how to use the
5
+
need to use the legacy debug adapter (e.g. remote debugging). This document explains how to use the
6
6
***legacy*** debug adapter.
7
7
8
8
@@ -45,6 +45,8 @@ To opt in to use the legacy debug adapter (`legacy`) by default, add the followi
45
45
```
46
46
47
47
If you want to use the legacy mode for only a subset of your launch configurations, you can use [the `debugAdapter` attribute](#launchjson-attributes) to switch between `"dlv-dap"` and `"legacy"` mode.
48
+
For [Remote Debugging](#remote-debugging) (launch configuration with `"mode": "remote"` attribute),
49
+
the extension will use the `"legacy"` mode by default, so setting this attribute won't be necessary.
48
50
49
51
Throughout this document, we assume that you opted in to use the legacy debug adapter.
50
52
For debugging using the new debug adapter (default, `"dlv-dap"` mode), please see the documentation about [Debugging](https://github.com/golang/vscode-go/tree/master/docs/debugging-legacy.md).
0 commit comments