title: Using multiple go versions while debugging with GoLand
body: <p>Using <a href="https://go.dev/doc/manage-install" rel="nofollow noreferrer">Go's documentation</a> on managing Go installs, I have got two versions of Go on my system:</p>
  <pre class="lang-sh prettyprint-override"><code>$ go version
  go version go1.16.13 linux/amd64
  
  $ go1.17 version
  go version go1.17 linux/amd64
  </code></pre>
  <p>1.16 installed using Fedora's <code>dnf</code> and 1.17 using <code>go install golang.org/dl/go1.17@latest; go1.17 download</code> (I get it that latest 1.17 is 1.17.6, but that's OK for my purpose.)</p>
  <p>In GoLand, I would like to use go1.17 to debug without modifying the system settings as a whole to use go1.17 every time I run a go command. I tried setting <code>GOBIN=/home/&lt;username&gt;/go/bin/go1.17</code> in the Environment section of &quot;Run/Debug Configurations&quot;, but that doesn't work (I'm not sure if it should.)</p>
  <p>Is it possible to use a different Go version for debugging while using GoLand? How?</p>