-
-
Notifications
You must be signed in to change notification settings - Fork 254
Closed
Description
vscode-js-debug is microsoft's new standard js debugger, it's standard in vs code. I've been trying to set it up, and I have the following config:
lua << EOF
local dap = require('dap');
dap.set_log_level('TRACE');
dap.adapters.node = {
type = "executable",
name = "node-debug",
command = "node",
args= {"/home/abhishek/.local/share/debuggers/vscode-js-debug/out/src/debugServerMain.js", "45635" }
}
dap.configurations.javascript = {
{
type = "node",
request = "launch",
name = "Launch Program",
program = "${workspaceFolder}/${file}",
debugServer = 45635
}
}
EOFwhen I try and run it, it gives me the following log info. Also, I'm not sure I'm setting the log level correctly, because I don't see any [TRACE] items in the logfile, how do I check what it's set to during runtime?
[ DEBUG ] 2020-12-31T04:50:23Z-0500 ] ...e/nvim/site/pack/pretentious7/start/nvim-dap/lua/dap.lua:1010 ] "request" {
arguments = {
adapterID = "nvim-dap",
clientId = "neovim",
clientname = "neovim",
columnsStartAt1 = true,
linesStartAt1 = true,
locale = "en_IN",
pathFormat = "path",
supportsRunInTerminalRequest = true
},
command = "initialize",
seq = 0,
type = "request"
}
presumably it's just not responding, but how do I go about debugging this? I tested with python's debug adapter and that works fine.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels