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
12
lua/custom/dap/config/firefox.lua
Normal file
12
lua/custom/dap/config/firefox.lua
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
local dap = require("dap")
|
||||
|
||||
local launch = {
|
||||
name = 'Debug index.html with Firefox',
|
||||
type = 'firefox',
|
||||
request = 'launch',
|
||||
reAttach = true,
|
||||
file = "${workspaceFolder}/index.html",
|
||||
}
|
||||
|
||||
table.insert(dap.configurations.javascript, launch)
|
||||
table.insert(dap.configurations.typescript, launch)
|
||||
Loading…
Add table
Add a link
Reference in a new issue