Code-server: Debugging Go does not work

Created on 15 Mar 2019  路  9Comments  路  Source: cdr/code-server


  • code-server version:
$ code-server --version
server/development linux-x64 node-v8.15.0
  • OS Version:
$ cat /etc/os-release
NAME="Ubuntu"
VERSION="16.04.6 LTS (Xenial Xerus)"
...

Description

Cannot debug Go. It stays in a loop for a while, cannot find any log failures.

Steps to Reproduce

  1. Start the server and log in
  2. Write a go file
  3. Add a breakpoint somewhere
  4. Click "debug"
  5. Hit "run"
bug

Most helpful comment

Will fix ASAP!

All 9 comments

Will fix ASAP!

This seems similar to #210 - at least from my experience in attempting Go debugging.

I have the same problem while trying to debug an application in .NET Core 2.1 inside a container

Any update on how this can be fixed ?
This prevents our adoption of code-server in our company

Will be fixed within a few hours.

Fixed with the latest release 1.32.0-310!

That's great, will try asap
Just to know: I can just run git pull && docker built -t codercom/code-server .
to use the docker version of code-server with the available fix ?

Yup that's correct. I'm updating the image on docker hub right now.

I appreciate the quick work on this. Sorry for my delay. The environment that I am working on has a kernel that is too old to support Ubuntu 18, so I had to fork this repo and back port to Ubuntu 16. I'll try to merge these changes soon and let you know if it fixed it for me.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lshamis picture lshamis  路  3Comments

broady picture broady  路  3Comments

Arsaev picture Arsaev  路  3Comments

sa7mon picture sa7mon  路  3Comments

chrischabot picture chrischabot  路  3Comments