Remote Debugging with the Delve Debugger in Visual Studio Code

I already asked and got a very good answer for debugging locally using delve (golang debugger).

Now I am trying to remotely debug Delve using VS Code.

I have an example application mentioned here , and then github is linked to the source code. Note. The debugging project is in a branch called debugging.

Can you make it work?

I also created / opened a problem in repo .

+2
source share
1 answer

The following worked:

  • Delete line 3 in launch.json "debugServer": 4711, "
  • 29 launch.json "host": "192.168.99.100" // IP "" 127.0.0.1".

, , , , . , ""!

+3

Source: https://habr.com/ru/post/1654394/


All Articles