linux下远程调试golang福音: vscode(code-server) + delve
linux下开发golang,vim用不惯怎么办,没有桌面怎么办,[goland远程调]https://blog.youkuaiyun.com/weixin_39362887/article/details/99696144不会用怎么办?推荐以下两款神器,方便大家编辑和调试golang代码:
https://github.com/go-delve/delve.git
https://github.com/cdr/code-server.git
code-server就是人见人爱的vscode浏览器版,delve就是号称比gdb更懂golang的调试神器!
效果如下图:
安装完后,调试会报错,修改launch.json即可,和在本地vscode一样配置:
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions