add firefox adapter and config; fix tables
This commit is contained in:
parent
ee05de7d29
commit
0f18e541c6
5 changed files with 30 additions and 4 deletions
|
|
@ -4,17 +4,19 @@ local dap_utils = require("dap.utils")
|
|||
local launch = {
|
||||
type = "pwa-node",
|
||||
request = "launch",
|
||||
name = "Launch file",
|
||||
name = "(pwa-node) Launch file",
|
||||
program = "${file}",
|
||||
cwd = "${workspaceFolder}",
|
||||
}
|
||||
local attach = {
|
||||
type = "pwa-node",
|
||||
request = "attach",
|
||||
name = "Attach",
|
||||
name = "(pwa-node) Attach",
|
||||
processId = dap_utils.pick_process,
|
||||
cwd = "${workspaceFolder}",
|
||||
}
|
||||
|
||||
dap.configurations.javascript = { launch, attach }
|
||||
dap.configurations.typescript = { launch, attach }
|
||||
table.insert(dap.configurations.javascript, launch)
|
||||
table.insert(dap.configurations.javascript, attach)
|
||||
table.insert(dap.configurations.typescript, launch)
|
||||
table.insert(dap.configurations.typescript, attach)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue