DLV-CONNECT(1)

πŸ’– DLV-CONNECT(1) β€” the general commands manual, but make it cute πŸ’–

okay bestie, so this is the manual page for dlv-connect, living in section 1 of the General Commands Manual. It's the lil terminal-client sidekick that hooks you up to a headless debug server. Let's get into it 🫢


✨ NAME ✨

dlv-connect β€” connect to a headless debug server with a terminal client.

Like, that's literally the whole personality. No cap. πŸŽ€


🌸 SYNOPSIS 🌸

dlv connect addr [flags]

πŸ¦‹ DESCRIPTION πŸ¦‹

So you've already got a headless debug server running somewhere, right? Slay. This is how you slide into its DMs from a terminal client. ✨

And listen β€” if you wanna use a unix domain socket instead of the usual network thing, just slap unix: on the front of the address. Ikea, prefix it. That's the move. πŸ’…


πŸ‘‘ OPTIONS πŸ‘‘

  • -h, --help[=false] β€” the help for connect. Yeah bestie, it does exactly what it says on the tin πŸ’–

🌈 OPTIONS INHERITED FROM PARENT COMMANDS 🌈

these ones come free from the parent command, like hand-me-downs but make it iconic πŸ‘‘

  • --accept-multiclient[=false] β€” lets a headless server take multiple client connections, via JSON-RPC or DAP. It's giving popular girl energy πŸ”₯
  • --allow-non-terminal-interactive[=false] β€” allows interactive sessions of Delve that don't have a terminal as stdin, stdout and stderr. yes, the vibes are unhinged, but it's allowed 😭
  • --api-version=2 β€” picks the JSON-RPC API version when headless. And let me be so fr fr: the only valid value is 2. That's it. That's the whole list. It can be reset via RPCServer.SetApiVersion. See Documentation/api/json-rpc/README.md. ⭐
  • --backend="default" β€” backend selection (peep dlv help backend for the deets).
  • --build-flags="" β€” build flags, to be passed to the compiler. For example: --build-flags="-tags=integration -mod=vendor -cover -v" β€” a whole lil starter pack πŸŽ€
  • --check-go-version[=true] β€” exits if the version of Go in use is not compatible (too old or too new) with the version of Delve. it's a vibe check, but for versions πŸ’€
  • --disable-aslr[=false] β€” disables address space randomization. hardcore behavior tbh.
  • --headless[=false] β€” run debug server only, in headless mode. Server will accept both JSON-RPC or DAP client connections. no face, all power πŸ‘‘
  • --init="" β€” init file, executed by the terminal client.
  • -l, --listen="127.0.0.1:0" β€” debugging server listen address. Prefix with unix: to use a unix domain socket. iconic default btw ✨
  • --log[=false] β€” enable debugging server logging.
  • --log-dest="" β€” writes logs to the specified file or file descriptor (see dlv help log).
  • --log-output="" β€” comma separated list of components that should produce debug output (see dlv help log). yes queen, comma separated, don't fight it πŸ“
  • --only-same-user[=true] β€” only connections from the same user that started this instance of Delve are allowed to connect. gatekeeping, but make it a security feature πŸ’…
  • -r, --redirect=[] β€” specifies redirect rules for target process (see dlv help redirect)
  • --wd="" β€” working directory for running the program. where the program hangs out, basically 🏠

πŸ’œ SEE ALSO πŸ’œ


auto generated by spf13/cobra and dated Aug 2026 β€” so like, this page wrote itself and we're all just living in it πŸ™ˆβœ¨ anyways bestie, go connect to your server, mwah πŸ’–πŸ¦‹πŸŒΈπŸ’œ

πŸ“¦ where this page comes from