Sources:
- https://intelligentbee.com/2016/12/15/debugging-golang-apps-in-docker-with-visual-studio-code/
- https://github.com/Microsoft/vscode-go/wiki/Debugging-Go-code-using-VS-Code
- https://blog.jetbrains.com/go/2018/04/30/debugging-containerized-go-applications/
- Build a debug version of your code to streamline the debugging
- Extra options to
go build:go build -gcflags "all=-N -l" -o /server hello
- Extra options to
- Set security context in dockerfile