mirror of
https://github.com/go-delve/delve.git
synced 2025-11-01 20:20:40 +08:00
dap: update dlv dap --help (#2558)
Co-authored-by: Polina Sokolova <polinasok@users.noreply.github.com>
This commit is contained in:
@ -13,10 +13,9 @@ to be launched or process to be attached to. The following modes are supported:
|
|||||||
- launch + debug (builds and launches, like 'dlv debug')
|
- launch + debug (builds and launches, like 'dlv debug')
|
||||||
- launch + test (builds and tests, like 'dlv test')
|
- launch + test (builds and tests, like 'dlv test')
|
||||||
- attach + local (attaches to a running process, like 'dlv attach')
|
- attach + local (attaches to a running process, like 'dlv attach')
|
||||||
The server does not yet support asynchronous request-response communication, so features
|
The server does not yet accept multiple client connections (--accept-multiclient).
|
||||||
like pausing or setting breakpoints while the program is running are not yet available.
|
While --continue is not supported, stopOnEntry launch/attach attribute can be used to control if
|
||||||
The server does not accept multiple client connections (--accept-multiclient),
|
execution is resumed at the start of the debug session.
|
||||||
a feature that is often relied on to enable --continue with remote debugging.
|
|
||||||
|
|
||||||
```
|
```
|
||||||
dlv dap
|
dlv dap
|
||||||
|
|||||||
@ -183,10 +183,9 @@ to be launched or process to be attached to. The following modes are supported:
|
|||||||
- launch + debug (builds and launches, like 'dlv debug')
|
- launch + debug (builds and launches, like 'dlv debug')
|
||||||
- launch + test (builds and tests, like 'dlv test')
|
- launch + test (builds and tests, like 'dlv test')
|
||||||
- attach + local (attaches to a running process, like 'dlv attach')
|
- attach + local (attaches to a running process, like 'dlv attach')
|
||||||
The server does not yet support asynchronous request-response communication, so features
|
The server does not yet accept multiple client connections (--accept-multiclient).
|
||||||
like pausing or setting breakpoints while the program is running are not yet available.
|
While --continue is not supported, stopOnEntry launch/attach attribute can be used to control if
|
||||||
The server does not accept multiple client connections (--accept-multiclient),
|
execution is resumed at the start of the debug session.`,
|
||||||
a feature that is often relied on to enable --continue with remote debugging.`,
|
|
||||||
Run: dapCmd,
|
Run: dapCmd,
|
||||||
}
|
}
|
||||||
rootCommand.AddCommand(dapCommand)
|
rootCommand.AddCommand(dapCommand)
|
||||||
|
|||||||
Reference in New Issue
Block a user