|
|
@ -85,6 +85,15 @@ wk.register({
|
|
|
|
"Step into",
|
|
|
|
"Step into",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
p = {
|
|
|
|
p = {
|
|
|
|
|
|
|
|
function()
|
|
|
|
|
|
|
|
require("dap.ext.vscode").load_launchjs(
|
|
|
|
|
|
|
|
nil,
|
|
|
|
|
|
|
|
{ ["pwa-node"] = { "typescriptreact", "typescript", "javascript", "javascriptreact", "json" } }
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
end,
|
|
|
|
|
|
|
|
"Load project config",
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
P = {
|
|
|
|
function()
|
|
|
|
function()
|
|
|
|
local config_dir = vim.loop.cwd() .. "/.vscode"
|
|
|
|
local config_dir = vim.loop.cwd() .. "/.vscode"
|
|
|
|
local config_file = config_dir .. "/launch.json"
|
|
|
|
local config_file = config_dir .. "/launch.json"
|
|
|
|