delve/service/dap/daptest
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
..
gen service/dap: send continued event before step response (#2594) 2021-07-20 08:51:08 -07:00
client.go cmd/dlv: add --client-addr flag to run dap with a predefined client (#2568) 2021-10-13 11:43:47 -07:00
resp.go service/dap: send continued event before step response (#2594) 2021-07-20 08:51:08 -07:00