使用VScode 调试的时候提示Unable to start debugging

使用VScode 调试的时候提示Unable to start debugging. Launch options string provided by the project system is invalid. Unable to determine path to debugger. Please specify the "MIDebuggerPath" option.

使用VScode 调试的时候提示Unable to start debugging

提示这个错误。

翻译过来就是 miDebuggerPath他出错了。

如果你是在linux 下按照官网的陪应该就是

使用VScode 调试的时候提示Unable to start debugging

这个地方陪错了,要先下载gdb  

在终端输入 apt-get install gdb

然后把gdb的路径丢进去就行了。