Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
go extension #725
type 'F5' debug golang project，error info :
View the actual compilation command with the "top" command:
How to modify the configuration can change the actual compilation command to：
This appears to be a common issue? I see very similar error:
What I'm using:
Hey, a quick update, after add
Then, I found a similar issue who reported in dlv which is exactly what I need.
So, I think the recommended solution for this at the moment is that, we need to add
I think this is not an issue of code-server, but instead something related to either dlv or docker. To me, it seems nothing could be done by code-server to address this issue. So, maybe we are happy to close it now...
On the other hand, maybe it's not something officially recommended, but at least for local dev, it looks good to use this option. I'd think we should update docs somewhere in this repo to reflect this, so that others could be benefit as well. :-)
It's unfourtunate that this is the case, but it looks like there's nothing we can do except document it. I believe the only place we provide instructions for running code-server within Docker is in the README, so maybe we should put it in the known issues section and link to this issue.
PRs are welcome.