Search code examples
golandskaffolddelvegoogle-cloud-code

cannot find debugger path for <path to main.go>


skaffold version: v1.35.1
Goland: 2021.2.4
Cloud Code: 21.11.1

Just create the Sample Application:

Go: Guestbook or Hello World

It builds and deploys well enough, but when setting a breakpoint it says:

cannot find debugger path for <path to main.go>

Solution

  • It looks like you need to ensure that you have Enable Go modules integration checked in Preferences -> Go -> Go Modules.