Go (Delve)

Debuggerby Tori @gettoriApache-2.0Bundled
Verified against
dlv 1.27.2Measured Oct 9, 2026
Platforms
macOS, Linux, Windows
Install
Shows how to install itInstall it with go install github.com/go-delve/delve/cmd/dlv@latest, and put $(go env GOPATH)/bin on your PATH.
Needs Tori
26.1009.0 or newer
Schema
Version 1
Id
delve
Source file
dap/delve.toml ↗gettori/packs on GitHub

Add it in Tori

  1. Open Settings with the gear in the title bar.
  2. Go to Debuggers.
  3. Go (Delve) is already there: it ships inside Tori. When the catalog has a newer version, Add a debugger lists it with Update.

Adding writes one file and runs nothing. Tori then shows how to install the tool itself.

Use it without the catalog

Download the file and drop it in the folder below. Tori loads it the next time it starts.

Download file delve.toml
~/.config/tori/packs/dap/

The file

delve.tomlRead only
1# Delve, Go's debugger. Go's own toolchain installs it, so Tori offers a hint2# rather than an install. `dlv dap` listens on the port Tori picks, serves one3# session and exits with it.4#5# `verified_against` is stated from `dlv version`, not checked: `dlv` has no6# `--version` (`dlv version` prints three lines), so the health card has no7# version to compare and says so.89schema_version = 110id = "delve"11label = "Go (Delve)"12description = "Debug Go programs and tests with Delve"13license = "Apache-2.0"14contributor = { name = "Tori", github = "gettori" }15verified_against = "dlv 1.27.2"16verified_on = "2026-10-09"1718# The module a package builds in. Delve runs `go build` from its own working19# directory, which is this root.20root_markers = ["go.mod"]2122[languages]23go = "go"2425[launch]26kind = "tcp"27program = "dlv"28args = ["dap", "--listen=127.0.0.1:{port}"]2930[install]31kind = "hint"32text = "Install it with `go install github.com/go-delve/delve/cmd/dlv@latest`, and put `$(go env GOPATH)/bin` on your PATH."33update = "go install github.com/go-delve/delve/cmd/dlv@latest"34uninstall = 'gobin="$(go env GOBIN)"; rm "${gobin:-$(go env GOPATH)/bin}/dlv"'