I installed the Goland for the Apple silicon and go SDK in the macOS M1 machine. In the terminal I get -
$ go version
go version go1.18.3 darwin/amd64
When I try to debug the go application, I get the following error -
Debugging programs compiled with go version go1.18.3 darwin/amd64 are not supported. Use go SDK for darwin/arm64.
How do I install the go darwin/arm64 SDK in the MacOS?