Open abhishekghimire40 opened 1 year ago
Hey! The issue you have is there is no loading event for javascript on your dap configuration. You'll need to set either ft={javascript}
or event=VeryLazy
on your nvim-dap plugin entry
sir please help how can i fix this
sir please help how can i fix this
I managed to get passed this by changing the line in plugins.lua from
dependencies = "mfussenegger/nvim-dap"
to
dependencies = {
"mfussenegger/nvim-dap",
"nvim-neotest/nvim-nio"
}
Edit: It's actually working for me now. I was having a problem with the connection being refused, but that was due to an unrelated python dependency.
I have configure neovim according to your configurations for go, python and javascript. key mappings for dap works for go and python but it doesn't work for javascript. In cheatsheet it shows the keymapping for dap:
But when i press leader+d in js file it doesn't show keymap for break point:
I have attached my nvim-dap plugin configuration and mappings: