lldb-vscode and "custom" launch type #730
Unanswered
mellery451
asked this question in
Q&A
Replies: 1 comment
-
I commented here #600 (comment) my config for remote debugging using cppdbg.
start |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to get lldb-vscode working for a remote debug scenario in which I manually launch the remote debugger and inferior process in a single command. I can't figure out the corresponding nvim-dap config to then attach to that lldb-server (I can do it fine manually with lldb though). this document seems to indicate that there should be a "custom" launch type that enables detailed control of the lldb commands via target/processCreateCommands, but I just can't get this to work in nvim-dap.
Here's my config so far:
and this results in a message in the debugger window:
..and no connection is made to the lldb-server.
If I switch to request = 'launch', then it does seem like there is a connection made to the server, but debugging doesn't actually work and it gets disconnected soon after intial connect. The debugger window shows an error like:
I should clarify, the way I'm launching the lldb-server (in a local docker container) is basically by running something like this in the container:
Any suggestions about what else to try?
Beta Was this translation helpful? Give feedback.
All reactions