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
local dap = require("dap")
dap.configurations.javascript = {
{
type = "pwa-node",
request = "launch",
name = "Launch file",
program = "${file}",
cwd = "${workspaceFolder}",
},
}
craftzdog/debugger-ref.lua: require("dap").adapters["pwa-node"] = { type = "server", host = "localhost", port = "${port}", executable = { command = "node", -- 💀 Make sure to update this path to point to your installation args = { "/share/debug-servers/js-debug/src/dapDebugServer.js", "${port}" }, }, }
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I get that error:
No configuration found for "javascript". You need to add configs to "dap.configurations.javascript" (See ":h dap-configuration")
plugins/debugger.lua:
craftzdog/debugger.lua:
craftzdog/debugger-ref.lua:
require("dap").adapters["pwa-node"] = { type = "server", host = "localhost", port = "${port}", executable = { command = "node", -- 💀 Make sure to update this path to point to your installation args = { "/share/debug-servers/js-debug/src/dapDebugServer.js", "${port}" }, }, }
Beta Was this translation helpful? Give feedback.
All reactions