Repolode
go-delve

go-delve/delve

A debugger for the Go programming language, designed to be simple to invoke and use while staying out of the way.

Stars
24,960
Forks
2,216
Open issues
84
Last commit
2 days ago

What is it?

Delve is a debugger for Go programs. It lets developers step through code, inspect variables and goroutines, and control execution while a program runs, with the goal of being a simple but fully featured debugging tool for Go.

The project aims to be easy to start and easy to use, so that debugging sessions stay focused on the problem rather than on the tool. The README documents a command line client, command line options, and integration points for editors and GUIs via plugins and an API that clients can build on.

Delve is written in Go and distributed under the MIT license. Its documentation covers installation, getting started, editor integration, and guidance for writing custom clients against its API.

Key features

  • 01Step through Go code and control execution during a debug session.
  • 02Inspect variables, goroutines, and program state while it runs.
  • 03Provides a command line client with documented command line options.
  • 04Exposes an API so editors, GUIs, and other clients can integrate with it.

Use cases

  • Debugging Go applications locally during development.
  • Integrating step-through debugging into an editor or IDE workflow.
  • Building a custom debugging frontend on top of Delve's API.

Quick start

  1. 1

    Install Delve with the Go toolchain

    go install github.com/go-delve/delve/cmd/dlv@latest
  2. 2

    Read the getting started guide to start debugging

Topics

FAQ

What is delve?
A debugger for the Go programming language, designed to be simple to invoke and use while staying out of the way. Delve is a debugger for Go programs. It lets developers step through code, inspect variables and goroutines, and control execution while a program runs, with the goal of being a simple but fully featured debugging tool for Go.
Is delve free to use? What license does it have?
delve is open source under the MIT license. Check the license terms before using it in commercial products.
Is delve still maintained?
Actively maintained. The last commit to delve was on Nov 4, 2026.
What can I use delve for?
Debugging Go applications locally during development. Integrating step-through debugging into an editor or IDE workflow. Building a custom debugging frontend on top of Delve's API.
How do I install delve?
Install Delve with the Go toolchain: go install github.com/go-delve/delve/cmd/dlv@latest Read the getting started guide to start debugging
Where can I get delve?
The source code and installation instructions are on GitHub: https://github.com/go-delve/delve

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects