VSCode Integration with DevSpace for Debugging!
VSCode Integration with DevSpace for Debugging! DevSpace Install required tools π¦ # Check Go version go version # Install the Delve debugger go install github.com/go-delve/delve/cmd/dlv@latest # Check DevSpace version devspace version # Install VSCode Go extensions code --install-extension golang.go code --install-extension devspace.devspace Project structure design π . βββ cmd β βββ main.go βββ devspace.yaml βββ Dockerfile.dev βββ Dockerfile.prod βββ go.mod βββ go.sum βββ internal β βββ handler.go β βββ model.go β βββ service.go βββ k8s β βββ dev β βββ deployment.yaml β βββ service.yaml βββ main βββ start-dev.sh Prepare the Go application π First, build a simple but practical Go application with a few API endpoints so you can test breakpoints.