Skip to content

Commit 6f9c0eb

Browse files
committed
docs/dlv-dap.md: include go.delveConfig setting for debugAdapter
With the addition of the "debugAdapter" attribute to the go.delveConfig setting, users can easily select dlv-dap for all debug sessions including codelenses. Updates #1293 Change-Id: Icc4cedf3e684418069911728cfb66efec6662167 Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/309749 Trust: Suzy Mueller <[email protected]> Run-TryBot: Suzy Mueller <[email protected]> Reviewed-by: Hyang-Ah Hana Kim <[email protected]>
1 parent 337ae93 commit 6f9c0eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/dlv-dap.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Please see the [Debug Adapter Protocol (DAP)](https://microsoft.github.io/debug-
1414

1515
## Getting Started
1616

17-
You can choose which debug adapter to use with the `"debugAdapter"` field in [your `launch.json` configuration](https://github.com/golang/vscode-go/blob/master/docs/debugging.md#snippets). Most settings will continue to work with in this new `"dlv-dap"` mode except [a few caveats](#features-and-caveats).
17+
You can select the default debug adapter to use in all launch configurations and codelenses through the `"debugAdapter"` field in the [`"go.delveConfig"`](settings.md#go.delveConfig) setting. You can choose which debug adapter to use for individual launch configurations with the `"debugAdapter"` field in [your `launch.json` configuration](https://github.com/golang/vscode-go/blob/master/docs/debugging.md#snippets). Most settings will continue to work with in this new `"dlv-dap"` mode except [a few caveats](#features-and-caveats).
1818
If you do not already have a `launch.json`, select `create a launch.json file` from the debug pane and choose an initial Go debug configuration.
1919

2020
<div style="text-align: center;"><img src="images/createlaunchjson.png" width=200 alt="The debug pane with the option to create launch.json"> </div>

0 commit comments

Comments
 (0)