How do I debug a node.js program with nvim-dap and node-debug2-adapter?

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

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.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • nvim-dap

    Debug Adapter Protocol client implementation for Neovim

  • Hi all. I'm totally new to debugging in neovim. I have nvim-dap and mason.nvim installed and then installed node-debug2-adapter using mason. I've looked up for some help and the following is the configuration I came up with. Btw I'm in LunarVim so this is written in ~/.config/lvim/config.lua:

  • mason.nvim

    Portable package manager for Neovim that runs everywhere Neovim runs. Easily install and manage LSP servers, DAP servers, linters, and formatters.

  • Hi all. I'm totally new to debugging in neovim. I have nvim-dap and mason.nvim installed and then installed node-debug2-adapter using mason. I've looked up for some help and the following is the configuration I came up with. Btw I'm in LunarVim so this is written in ~/.config/lvim/config.lua:

  • 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
  • vscode-node-debug2

    Discontinued A VS Code debug adapter that supports debugging Node via the Chrome Debugging Protocol.

  • Hi all. I'm totally new to debugging in neovim. I have nvim-dap and mason.nvim installed and then installed node-debug2-adapter using mason. I've looked up for some help and the following is the configuration I came up with. Btw I'm in LunarVim so this is written in ~/.config/lvim/config.lua:

  • mason-nvim-dap.nvim

  • Off topic: you should check out, https://github.com/jayp0521/mason-nvim-dap.nvim. might help reduce the amount of configuration in the future

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

  • New Nightmare, the Hammerhead Worm

    3 projects | news.ycombinator.com | 24 May 2023
  • Help with lsp-config, pyright, 'cannot access member x for type y'

    5 projects | /r/neovim | 10 Jan 2023
  • DAP debugging with go

    4 projects | /r/neovim | 5 Jan 2023
  • Replacing plugins with Mason.nvim

    2 projects | /r/neovim | 15 Nov 2022
  • Vim beginner here, need some setup/plugin tips

    5 projects | /r/vim | 28 Aug 2022