在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
系统会自动更新软件,并弹出
等待更新完毕后即可!