delve/Documentation/usage
Hyang-Ah Hana Kim 98a0bcf772
cmd/dlv: add --client-addr flag to run dap with a predefined client (#2568)
This adds a new `--client-addr=host:port` flag to `dlv dap`.
If it is supplied, the dap process will dial into the tcp port where
a DAP client is waiting, and work with only the DAP client.
The DAP client is supposed to start the normal DAP message
exchange starting with the 'initialize' request after the dlv dap
process dials in and the connection is set up. 

VS Code Go extension plans to use this mode for

* reliably detecting `dlv dap` readiness. Currently it depends on
watching the log stream. After this PR, it can listen on a network port.
* running `dlv dap` from any terminal (part of RunInTerminal workflow
implementation).
2021-10-13 11:43:47 -07:00
..
dlv_attach.md pkg/goversion: visibly warn the user with --check-go-version=false (#2684) 2021-09-25 17:41:00 +02:00
dlv_backend.md pkg/goversion: visibly warn the user with --check-go-version=false (#2684) 2021-09-25 17:41:00 +02:00
dlv_connect.md pkg/goversion: visibly warn the user with --check-go-version=false (#2684) 2021-09-25 17:41:00 +02:00
dlv_core.md pkg/goversion: visibly warn the user with --check-go-version=false (#2684) 2021-09-25 17:41:00 +02:00
dlv_dap.md cmd/dlv: add --client-addr flag to run dap with a predefined client (#2568) 2021-10-13 11:43:47 -07:00
dlv_debug.md pkg/goversion: visibly warn the user with --check-go-version=false (#2684) 2021-09-25 17:41:00 +02:00
dlv_exec.md pkg/goversion: visibly warn the user with --check-go-version=false (#2684) 2021-09-25 17:41:00 +02:00
dlv_log.md pkg/goversion: visibly warn the user with --check-go-version=false (#2684) 2021-09-25 17:41:00 +02:00
dlv_redirect.md pkg/goversion: visibly warn the user with --check-go-version=false (#2684) 2021-09-25 17:41:00 +02:00
dlv_replay.md pkg/goversion: visibly warn the user with --check-go-version=false (#2684) 2021-09-25 17:41:00 +02:00
dlv_run.md pkg/goversion: visibly warn the user with --check-go-version=false (#2684) 2021-09-25 17:41:00 +02:00
dlv_test.md pkg/goversion: visibly warn the user with --check-go-version=false (#2684) 2021-09-25 17:41:00 +02:00
dlv_trace.md pkg/goversion: visibly warn the user with --check-go-version=false (#2684) 2021-09-25 17:41:00 +02:00
dlv_version.md pkg/goversion: visibly warn the user with --check-go-version=false (#2684) 2021-09-25 17:41:00 +02:00
dlv.md pkg/goversion: visibly warn the user with --check-go-version=false (#2684) 2021-09-25 17:41:00 +02:00
README.md docs: Move wiki docs into Documentation dir 2016-02-19 10:47:46 -08:00

Using Delve

You can invoke Delve in multiple ways, depending on your usage needs. Delve makes every attempt to be user-friendly, ensuring the user has to do the least amount of work possible to begin debugging their program.

Refer to the main usage document to further explore commands.