Skip to content

Commit

Permalink
docs/dlv-dap.md: include go.delveConfig setting for debugAdapter
Browse files Browse the repository at this point in the history
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 <suzmue@golang.org>
Run-TryBot: Suzy Mueller <suzmue@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
  • Loading branch information
suzmue committed Apr 13, 2021
1 parent 337ae93 commit 6f9c0eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/dlv-dap.md
Expand Up @@ -14,7 +14,7 @@ Please see the [Debug Adapter Protocol (DAP)](https://microsoft.github.io/debug-

## Getting Started

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).
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).
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.

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

0 comments on commit 6f9c0eb

Please sign in to comment.