Golang Docker Docker-compose Delve JetBrains GoLand. There are fundamental tradeoffs between debuggability and performance, so we’re focusing on the highest-priority debugging defects, and working to collect automated metrics to monitor our progress and catch regressions. In the file pattern, use Dockerfile.debug and then select the Dockerfile type in the list that appears. Suppose you have multiple Go microservices each one acting like a web server in our application … Jun 14, 2018. Delve should be easy to invoke and easy to use. Remote debugging Go programs within Docker containers from your favorite IDE (Goland, of course) // todo(): redo. The debugger is run in headless mode, listening on the debug port. The Go extension lets you debug Go code as well. When you're debugging, you must compile your function in debug mode: GOARCH=amd64 GOOS=linux go build -gcflags='-N -l' -o