this post was submitted on 20 Jul 2024
6 points (87.5% liked)
Golang
313 readers
8 users here now
This is a community dedicated to the go programming language.
Useful Links:
Rules:
- Posts must be relevant to Go
- No NSFW content
- No hate speech, bigotry, etc
- Try to keep discussions on topic
- No spam of tools/companies/advertisements
- It’s OK to post your own stuff part of the time, but the primary use of the community should not be self-promotion.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
This solution does with when using a launch request in the config. Thank you
Do you have a simple guide by chance on how to get debugging to work inside a docker container using VSCode?
The TL;DR is that you have to exec —privileged and execute dlv attach within the container then tell VSCode to connect. I’ll look up my notes tomorrow and post more details.
Thank you. Been struggling to get my IDE setup for go development.