From e9670b2ae8b08fe632be9cb8b7fdfaccb5663e3c Mon Sep 17 00:00:00 2001 From: Taken Date: Thu, 26 Sep 2024 11:58:57 +0200 Subject: [PATCH] Added js debug options --- lua/taken/plugins/dap.lua | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lua/taken/plugins/dap.lua b/lua/taken/plugins/dap.lua index 02dd164..5b89337 100644 --- a/lua/taken/plugins/dap.lua +++ b/lua/taken/plugins/dap.lua @@ -17,6 +17,14 @@ return { command = "js-debug-adapter", }, } + dap.configurations.javascript = { + { + name = "Attach to process (global nvim)", + type = "pwa-node", + request = "attach", + port = 9229, + }, + } dap.configurations.typescript = { { name = "Attach to process (global nvim)",