在mac下使用vscode开发Go程序时使用delve来debug如果报下面的错误:
could not launch process: exec: "lldb-server": executable file not found in $PATH
Process exiting with code: 1
可以直接打开终端(Terminal)输入:
$ xcode-select --install
输出:
xcode-select: note: install requested for command line developer tools
系统会自动更新软件,并弹出

等待更新完毕后即可!