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
2021-10-02 15:44:30 +02:00
2015-05-19 12:25:26 -05:00
2020-04-08 11:40:24 +02:00
2021-09-22 21:05:04 -07:00
2014-05-03 15:31:52 -05:00

Delve

license GoDoc Build Status

The GitHub issue tracker is for bugs only. Please use the developer mailing list for any feature proposals and discussions.

About Delve

Delve is a debugger for the Go programming language. The goal of the project is to provide a simple, full featured debugging tool for Go. Delve should be easy to invoke and easy to use. Chances are if you're using a debugger, things aren't going your way. With that in mind, Delve should stay out of your way as much as possible.

Description
Delve is a debugger for the Go programming language.
Readme MIT 61 MiB
Languages
Go 97.1%
C 2.3%
Shell 0.2%
PowerShell 0.1%
Starlark 0.1%
Other 0.1%