title: Debugging a Go process in a container using Delve/Goland from the host
body: <p>Before I burn hours trying it out I wanted to ask the community is this even possible?</p>
  
  <p>Scenario:</p>
  
  <ul>
  <li>Running Goland on host (may be any OS)</li>
  <li>Running Go dev env in Alpine based container</li>
  <li>Code on host volume mapped to container</li>
  </ul>
  
  <p>Can I attach the Goland debugger (Delve) to a Go process in the container? I'm assuming I can run delve in the container headless and run the client on the host, punching whatever port is required? Will I have binary compatibility issues if the host is not linux?</p>