2016-02-19 18:32:24 +00:00
|
|
|
## dlv connect
|
|
|
|
|
2022-01-06 16:57:40 +00:00
|
|
|
Connect to a headless debug server with a terminal client.
|
2016-02-19 18:32:24 +00:00
|
|
|
|
|
|
|
### Synopsis
|
|
|
|
|
2024-02-07 19:04:45 +00:00
|
|
|
Connect to a running headless debug server with a terminal client. Prefix with 'unix:' to use a unix domain socket.
|
2016-02-19 18:32:24 +00:00
|
|
|
|
|
|
|
```
|
2021-07-22 18:05:37 +00:00
|
|
|
dlv connect addr [flags]
|
|
|
|
```
|
|
|
|
|
|
|
|
### Options
|
|
|
|
|
|
|
|
```
|
|
|
|
-h, --help help for connect
|
2016-02-19 18:32:24 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
### Options inherited from parent commands
|
|
|
|
|
|
|
|
```
|
2023-08-09 17:37:55 +00:00
|
|
|
--backend string Backend selection (see 'dlv help backend'). (default "default")
|
|
|
|
--init string Init file, executed by the terminal client.
|
|
|
|
--log Enable debugging server logging.
|
|
|
|
--log-dest string Writes logs to the specified file or file descriptor (see 'dlv help log').
|
|
|
|
--log-output string Comma separated list of components that should produce debug output (see 'dlv help log')
|
2016-02-19 18:32:24 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
### SEE ALSO
|
2021-07-22 18:05:37 +00:00
|
|
|
|
2016-02-19 18:32:24 +00:00
|
|
|
* [dlv](dlv.md) - Delve is a debugger for the Go programming language.
|
|
|
|
|