aboutsummaryrefslogtreecommitdiffstats
path: root/lua/alpha/dap.lua
diff options
context:
space:
mode:
authorAriel D'Alessandro <dalessandro.ariel@gmail.com>2022-12-18 10:04:54 +0100
committerAriel D'Alessandro <dalessandro.ariel@gmail.com>2022-12-18 10:04:54 +0100
commiteedea2b9c040c41305c0593a22fae7c88a473465 (patch)
tree37c2611cf6dd8748af79f1123c3fb804a2d6c9ed /lua/alpha/dap.lua
parentddf423361d357228661b2cee4a952693f0ac7237 (diff)
downloadnvim-conf-eedea2b9c040c41305c0593a22fae7c88a473465.tar.gz
nvim-conf-eedea2b9c040c41305c0593a22fae7c88a473465.zip
feat: update dap
Diffstat (limited to 'lua/alpha/dap.lua')
-rw-r--r--lua/alpha/dap.lua9
1 files changed, 2 insertions, 7 deletions
diff --git a/lua/alpha/dap.lua b/lua/alpha/dap.lua
index 6d0bda0..ee53443 100644
--- a/lua/alpha/dap.lua
+++ b/lua/alpha/dap.lua
@@ -62,13 +62,8 @@ dap.configurations.php = {
}
require("dap-vscode-js").setup({
- -- node_path = "node", -- Path of node executable. Defaults to $NODE_PATH, and then "node"
- -- debugger_path = "(runtimedir)/site/pack/packer/opt/vscode-js-debug", -- Path to vscode-js-debug installation.
- debugger_cmd = { "js-debug-adapter" }, -- Command to use to launch the debug server. Takes precedence over `node_path` and `debugger_path`.
- adapters = { "pwa-node", "pwa-chrome", "pwa-msedge", "node-terminal", "pwa-extensionHost" }, -- which adapters to register in nvim-dap
- -- log_file_path = "(stdpath cache)/dap_vscode_js.log" -- Path for file logging
- -- log_file_level = false -- Logging level for output to file. Set to false to disable file logging.
- -- log_console_level = vim.log.levels.ERROR -- Logging level for output to console. Set to false to disable console output.
+ debugger_cmd = { "js-debug-adapter" },
+ adapters = { "pwa-node", "pwa-chrome", "node-terminal" },
})
for _, language in ipairs({ "typescript", "javascript" }) do