You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
${workspaceFolder}/${file} is not working for nodejs instead $(file) is working. I see that this was changed as part of #34
I am not using any custom config for DAP and nodejs adapter.
Environment1:
Macos 10.15
neovim 0.6.0
Environment2:
debian on wsl2
neovim 0.6
Both environments have the same issue. To test this out, created a file called testing.js and has a simple function which is put on setInterval to debug with a breakpoint inside function code.
Started with continue() and it kept giving error "Error on launch: Attribute 'program' is not absolute ('{path}')" same as in #34
Do I need to add some config related to workspace folders etc?
Here are parts of my nvim config related to dap
" Debugger
Plug 'mfussenegger/nvim-dap'
Plug 'theHamsta/nvim-dap-virtual-text' " cannot see virtual text if Treesitter for a language is not installed
Plug 'Pocco81/DAPInstall.nvim'
Plug 'nvim-telescope/telescope-dap.nvim'
" Debugger end
" Lua plugins initialization
lua << EOF
require('telescope').load_extension('dap')
local dap_install = require("dap-install")
dap_install.setup({
installation_path = vim.fn.stdpath("data") .. "/dapinstall/",
verbosely_call_debuggers = true
})
local dbg_list = require("dap-install.api.debuggers").get_installed_debuggers()
for _, debugger in ipairs(dbg_list) do
dap_install.config(debugger)
end
require("nvim-dap-virtual-text").setup() -- cannot see virtual text if Treesitter for a language is not installed
EOF
The text was updated successfully, but these errors were encountered:
${workspaceFolder}/${file} is not working for nodejs instead $(file) is working. I see that this was changed as part of #34
I am not using any custom config for DAP and nodejs adapter.
Environment1:
Macos 10.15
neovim 0.6.0
Environment2:
debian on wsl2
neovim 0.6
Both environments have the same issue. To test this out, created a file called testing.js and has a simple function which is put on setInterval to debug with a breakpoint inside function code.
Started with continue() and it kept giving error "Error on launch: Attribute 'program' is not absolute ('{path}')" same as in #34
Do I need to add some config related to workspace folders etc?
Here are parts of my nvim config related to dap
The text was updated successfully, but these errors were encountered: