Semaphore/deployment/docker/debug/README.md
2024-06-01 19:05:34 +02:00

11 lines
632 B
Markdown

# Docker image for remote debugging
## Set up Goland project
1. Create Docker project by the [official tutorial](https://blog.jetbrains.com/go/2020/05/04/go-development-with-docker-containers/).
<video controls src="https://resources.jetbrains.com/storage/products/blog/wp-content/uploads/GoLand/tutorials/docker-dev-series/go-dev-with-docker-containers/create-run-config.mp4"></video>
Provide required environment variables.
2. Enable debugging for the Docker project and create Go Remote Project by the [official tutorial](https://blog.jetbrains.com/go/2020/05/06/debugging-a-go-application-inside-a-docker-container/).