Using vscDebugger as debugger #166
Replies: 3 comments
-
I installed the vcsDebugger package and made a copy of your |
Beta Was this translation helpful? Give feedback.
-
I cant get this to work but I must be missing something fundamental. I get the opposite situation of @jalvesaq. I can get the panes all open with the Related to this, there is movement here dgkf/debugadapter#15 |
Beta Was this translation helpful? Give feedback.
-
Another possible configuration: local dap = require('dap')
dap.adapters.r = {
type = 'server',
port = 18721, -- needs to match `debugadapter::run()`'s `port` argument
executable = {
command = "R",
args = { "--slave", "-e", "debugadapter::run()" },
},
}
dap.configurations.r = {
{
type = 'r',
request = 'attach',
name = 'Attach session'
}
} |
Beta Was this translation helpful? Give feedback.
-
I am trying to install and use
vscDebugger
(https://manuelhentschel.github.io/vscDebugger/). I am feeling that I am close to use it with a real DAP client.What I have so far.
In
debug.lua
Then, in nvim, place a breakpoint wherever you want and press
F7
:Start to debug (play button at the bottom). There is an error popping:
It says there is something at line 51:
https://github.com/rcarriga/nvim-dap-ui/blob/b7267003ba4dd860350be86f75b9d9ea287cedca/lua/dapui/components/variables.lua#L51
I checked the dap log (
/home/filoche/.cache/nvim/dap.log
) and we have this:The log indicates many successful operations. The connection is working, breakpoints are being detected, and so on.
I am leaving it as is; perhaps someone else will have more success than I did. :)
Beta Was this translation helpful? Give feedback.
All reactions