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 forconnect. 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 viaRPCServer.SetApiVersion. SeeDocumentation/api/json-rpc/README.md. β--backend="default"β backend selection (peepdlv help backendfor 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 withunix: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 (seedlv help log).--log-output=""β comma separated list of components that should produce debug output (seedlv 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 (seedlv 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
- ubuntu stonking: delve 1.27.1-4 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms