title: Cannot run debug Go using VSCode on Mac M1
body: <p>I found a topic that encounter the same problem (<a href="https://stackoverflow.com/questions/67637872/cant-debug-golang-in-vscode-apple-m1">Can&#39;t debug Golang in vscode apple m1</a>) but I'm not sure it's an old solution or not because I'm using the Go version</p>
  <pre><code>go1.17.1 darwin/arm64 
  </code></pre>
  <p>with</p>
  <pre><code>dlv version 1.7.2 
  </code></pre>
  <p>and</p>
  <pre><code>VSCode version 1.60.2 (arm64)
  </code></pre>
  <p>on</p>
  <pre><code>Mac M1 BigSur (11.6)
  </code></pre>
  <p>when I run debug (<code>fn+f5</code>) a Debug console shows:</p>
  <pre><code>Starting: /Users/username/go/bin/dlv-dap dap --check-go-version=false --listen=127.0.0.1:53115 --log-dest=3 from /Users/username/go/src/project-name
  DAP server listening at: 127.0.0.1:53115
  </code></pre>
  <p>and there is a Pop-up error:</p>
  <pre><code>Failed to launch: could not launch process: can not run under Rosetta, check that the installed build of Go is right for your CPU architecture
  </code></pre>
  <p>I have tried downgrade go version to 1.16.8 arm64 with dlv 1.6.1 but still got the same error.</p>
  <p>I can use go build successfully on both versions.</p>