gitlab.com/Raven-IO/raven-delve@v1.22.4/Documentation/usage/dlv.md (about) 1 ## dlv 2 3 Delve is a debugger for the Go programming language. 4 5 ### Synopsis 6 7 Delve is a source level debugger for Go programs. 8 9 Delve enables you to interact with your program by controlling the execution of the process, 10 evaluating variables, and providing information of thread / goroutine state, CPU register state and more. 11 12 The goal of this tool is to provide a simple yet powerful interface for debugging Go programs. 13 14 Pass flags to the program you are debugging using `--`, for example: 15 16 `dlv exec ./hello -- server --config conf/config.toml` 17 18 ### Options 19 20 ``` 21 -h, --help help for dlv 22 ``` 23 24 ### SEE ALSO 25 26 * [dlv attach](dlv_attach.md) - Attach to running process and begin debugging. 27 * [dlv connect](dlv_connect.md) - Connect to a headless debug server with a terminal client. 28 * [dlv core](dlv_core.md) - Examine a core dump. 29 * [dlv dap](dlv_dap.md) - Starts a headless TCP server communicating via Debug Adaptor Protocol (DAP). 30 * [dlv debug](dlv_debug.md) - Compile and begin debugging main package in current directory, or the package specified. 31 * [dlv exec](dlv_exec.md) - Execute a precompiled binary, and begin a debug session. 32 * [dlv replay](dlv_replay.md) - Replays a rr trace. 33 * [dlv test](dlv_test.md) - Compile test binary and begin debugging program. 34 * [dlv trace](dlv_trace.md) - Compile and begin tracing program. 35 * [dlv version](dlv_version.md) - Prints version. 36 37 * [dlv log](dlv_log.md) - Help about logging flags 38 * [dlv backend](dlv_backend.md) - Help about the `--backend` flag