kickstart.nvim/lua/custom/dap/config/firefox.lua

13 lines
307 B
Lua

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)