Is there a neovim config with preconfigured debugger?

This page summarizes the projects mentioned and recommended in the original post on /r/neovim

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • nvim

    Neovim configuration (by Integralist)

  • nvim-dap

    Debug Adapter Protocol client implementation for Neovim

  • https://github.com/mfussenegger/nvim-dap is the baseline tool for debugging programs. You can't use it by itself, you need a separate plugin for your programming language of choice (nvim-dap implements a specific debugging 'protocol' meaning that plugins can support debugging by implementing certain functions).

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • nvim-dap-go

    An extension for nvim-dap providing configurations for launching go debugger (delve) and debugging individual tests

  • So in my case I use https://github.com/leoluz/nvim-dap-go (which itself calls out to the CLI tool https://github.com/go-delve/delve).

  • delve

    Delve is a debugger for the Go programming language.

  • So in my case I use https://github.com/leoluz/nvim-dap-go (which itself calls out to the CLI tool https://github.com/go-delve/delve).

  • nvim-dap-ui

    A UI for nvim-dap

  • So I install a UI plugin https://github.com/rcarriga/nvim-dap-ui which helps visualise the CLI output into separate windows. I typically trigger the UI to open and then trigger require('dap').continue() to start debugging.

  • nvim-dap-virtual-text

  • Lastly, I use a plugin that at runtime evaluates the state of your program (e.g. what value is assigned to this variable? Which is handy especially when you're stepping through a loop -- see screenshots in linked repo) https://github.com/theHamsta/nvim-dap-virtual-text

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