在使用goland使用debug调试代码出现
API server listening at: 127.0.0.1:56871
could not launch process: debugserver or lldb-server not found: install XCode's command line tools or lldb-server
解决方式:
在goland的终端terminal输入:
xcode-select --install
等待安装完成后,即可使用debug。
原因:
出现这个问题不一定是没有安装xcode,建议重启一下goLand 如果没有解决那么再进行安装。