Docker/container debugging is really confusing for me #1027
-
First of all, thank you very much for the amazing plugin. I've looked for something like this for a long time. I really hope I can get it working. That said, I'm having a really hard time understanding the wiki page on debugging with docker. This page lists Shared, Go, and Python. It's unclear to me how to set it up for other languages. Is it even possible? I am interested in C++. I see Go and Python each create a new lua module with methods I already have a built docker container with my application and vscode-cpptools. My colleagues use it in vscode for debugging. I just need to figure out how to attach to it. Off topic, but I'd love some help for this too: The part about downloading and extracting vscode-cpptools blew my mind! Is there any way to use that as a language server too? I've looked in lspconfig, but I don't see cpptools. Thank you very much. I would be happy to contribute to the documentation if someone can point me in the right direction and once I get it working. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I figured it out. I'm not sure if something changed, but when I tried again today, it was pretty straightforward. I just defined a |
Beta Was this translation helpful? Give feedback.
I figured it out. I'm not sure if something changed, but when I tried again today, it was pretty straightforward. I just defined a
pipeTransport
that uses a bash script to start docker. I can use pretty much the samelaunch.json
that my colleagues use in vsc*de.