add firefox adapter and config; fix tables

This commit is contained in:
vladstojna 2023-04-27 16:54:44 +01:00 committed by vladstojna
parent ee05de7d29
commit 0f18e541c6
5 changed files with 30 additions and 4 deletions

View 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)