Mastering Golang Debugging in Emacs

This page summarizes the projects mentioned and recommended in the original post on dev.to

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. ginkgo

    A Modern Testing Framework for Go

    Debug both standard applications and Ginkgo tests (this is what I'm using at the moment 🤷)

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. heureka

    Security and compliance management

    After starting working on more complex projects (like this one: https://github.com/cloudoperators/heureka) I had to force myself to have a deeper look at delve (the Golang debugger) and see what Emacs offers for interacting with it. While the Go ecosystem offers excellent debugging tools, integrating them into a comfortable development workflow can be challenging.

  4. delve

    Delve is a debugger for the Go programming language.

    In this post I'll elaborate the powerful combination of Emacs, Delve, and dape. Together, these tools create a debugging experience that mimics (and often surpasses) traditional IDEs, while preserving the flexibility and extensibility that Emacs is famous for.

  5. minimal-emacs.d

    minimal-emacs.d - Better Vanilla Emacs Defaults and Optimized Startup

    In this post I assume you already have some Emacs experience and now how to configure packages and write small Elisp snippets. I personally use straight.el as a package manager, minimal-emacs.d as a minimal vanilla Emacs configuration (along with my own custommizations), dape as the debug adapter client and eglot as my LSP client.

  6. dape

    Debug Adapter Protocol for Emacs

    In this post I assume you already have some Emacs experience and now how to configure packages and write small Elisp snippets. I personally use straight.el as a package manager, minimal-emacs.d as a minimal vanilla Emacs configuration (along with my own custommizations), dape as the debug adapter client and eglot as my LSP client.

  7. straight.el

    🍀 Next-generation, purely functional package manager for the Emacs hacker.

    In this post I assume you already have some Emacs experience and now how to configure packages and write small Elisp snippets. I personally use straight.el as a package manager, minimal-emacs.d as a minimal vanilla Emacs configuration (along with my own custommizations), dape as the debug adapter client and eglot as my LSP client.

  8. dotfiles

    Dotfiles management using chezmoi (by dorneanu)

    In this post I assume you already have some Emacs experience and now how to configure packages and write small Elisp snippets. I personally use straight.el as a package manager, minimal-emacs.d as a minimal vanilla Emacs configuration (along with my own custommizations), dape as the debug adapter client and eglot as my LSP client.

  9. eglot

    A client for Language Server Protocol servers

    In this post I assume you already have some Emacs experience and now how to configure packages and write small Elisp snippets. I personally use straight.el as a package manager, minimal-emacs.d as a minimal vanilla Emacs configuration (along with my own custommizations), dape as the debug adapter client and eglot as my LSP client.

  10. goimports

    [mirror] Go Tools (by golang)

    For Emacs 29+ users, eglot is built-in. Check out configuring eglot for gopls and some more advanced gopls settings. We'll first add dape:

  11. dap-mode

    Emacs :heart: Debug Adapter Protocol

    There is no particular reason why I use dape instead of dap. When I was still using MinEmacs it was part of it and I just got used to it. As the documentation states:

  12. minemacs

    MinEmacs: an Emacs configuration framework for daily use

    There is no particular reason why I use dape instead of dap. When I was still using MinEmacs it was part of it and I just got used to it. As the documentation states:

  13. Go for Visual Studio Code

    You have different fields/properties which according to this page you can tweak in your debugging configuration:

  14. ginkgo-mode

    A minor mode for the Ginkgo testing framework.

    Being able to debug tests in Golang is crucial. For running ginkgo tests I use ginkgo-mode which has several features:

  15. vscode-go

    Go extension for Visual Studio Code (by golang)

    vscode-go/docs/debugging.md at master · golang/vscode-go

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • DEBUG A KUBERNETES OPERATOR WRITTEN IN GO

    3 projects | dev.to | 3 Mar 2022
  • VSCode-go: Increase the Go telemetry prompt rate to 200%

    2 projects | news.ycombinator.com | 8 Dec 2024
  • Domine Golang com Nunu: Guia completo

    4 projects | dev.to | 21 Aug 2024
  • Error handling in Go web apps shouldn't be so awkward

    4 projects | news.ycombinator.com | 9 Jan 2024
  • Delve v1.21.2 is out now

    1 project | /r/golang | 1 Nov 2023

Did you know that Emacs Lisp is
the 27th most popular programming language
based on number of references?