美文网首页
Go安装&VSCode调试

Go安装&VSCode调试

作者: wustzhy | 来源:发表于2018-07-13 10:29 被阅读1231次

Go安装地址

https://golang.org 需要翻墙
推荐下面,这哥们百度盘里了👍
https://blog.csdn.net/warrially/article/details/79879119

安装依赖包

集成安装命令,拷贝多行 到terminal Enter就可完成安装:

go get -u -v github.com/nsf/gocode
go get -u -v github.com/rogpeppe/godef
go get -u -v github.com/golang/lint/golint
go get -u -v github.com/lukehoban/go-find-references
go get -u -v github.com/lukehoban/go-outline
go get -u -v sourcegraph.com/sqs/goreturns
go get -u -v golang.org/x/tools/cmd/gorename
go get -u -v github.com/tpng/gopkgs
go get -u -v github.com/newhook/go-symbols

vscode调试go报错

  • lldb-server
    debugserver or lldb-server not found: install XCode's command line tools or lldb-server

重新在终端安装下xcode-select

$xcode-select --install
API server listening at: 127.0.0.1:2345

time="2018-07-13T10:31:47+08:00" level=info msg="launching process with args: [/Users/erice/Desktop/tool_test/Go/src/test1/debug]" layer=debugger

could not launch process: listen tcp 185.199.108.153:0: bind: can't assign requested address

Process exiting with code: 1


参考教程

相关文章

网友评论

      本文标题:Go安装&VSCode调试

      本文链接:https://www.haomeiwen.com/subject/hbqjpftx.html