Golang Debug In Docker with Delve
Written in 2019. Tools, APIs and prices may have changed since.
Lab note What I wrote down while learning this by building with it. Short by design; the code is in pfeilbr/golang-debug-in-docker-with-delve-playground.
based on Debugging Go using Delve, Docker and VS Code post
make run # or make build first
# set breakpoint in vscode on line 18, then Debug | Start Debugging
Resources
- dlv debug cli docs