add pwa-node adapters and configs
This commit is contained in:
parent
548340ad63
commit
a76337f5fa
4 changed files with 40 additions and 0 deletions
|
|
@ -1 +1,4 @@
|
|||
require('custom.dap.adapters.cpptools')
|
||||
require('custom.dap.adapters.codelldb')
|
||||
require('custom.dap.adapters.lldb-vscode')
|
||||
require('custom.dap.adapters.pwa-node')
|
||||
|
|
|
|||
15
lua/custom/dap/adapters/pwa-node.lua
Normal file
15
lua/custom/dap/adapters/pwa-node.lua
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
local dap = require("dap")
|
||||
|
||||
dap.adapters["pwa-node"] = {
|
||||
type = "server",
|
||||
host = "127.0.0.1",
|
||||
port = "${port}",
|
||||
executable = {
|
||||
command = "node",
|
||||
args = {
|
||||
vim.fn.stdpath("data") ..
|
||||
"/mason/packages/js-debug-adapter/js-debug/src/dapDebugServer.js",
|
||||
"${port}",
|
||||
},
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue