Updating dap

This commit is contained in:
2024-09-26 11:58:24 +02:00
parent 8823501e6e
commit aed0eca8ce

View File

@@ -17,23 +17,12 @@ return {
command = "js-debug-adapter", command = "js-debug-adapter",
}, },
} }
dap.configurations.javascript = {
{
type = "pwa-node",
request = "launch",
name = "Launch file",
program = "${file}",
cwd = "${workspaceFolder}",
},
}
dap.configurations.typescript = { dap.configurations.typescript = {
{ {
name = "Attach to process (global nvim)",
type = "pwa-node", type = "pwa-node",
request = "launch", request = "attach",
name = "Launch file", port = 9229,
program = "${file}",
cwd = "${workspaceFolder}",
runtimeExecutable = "tsx",
}, },
} }