在VSCode中是否可以使用命令强制启动lldb调试器:process launch -i filename?
答案 0 :(得分:0)
有关如何设置调试器的文档,请访问:https://code.visualstudio.com/docs/languages/cpp#_debugging-your-code
要使lldb启动文件,您需要配置launch.json
并包含以下行:
"program": "${workspaceFolder}/whatever-your-compiled-filename-is"
我还发现本指南对入门有用:https://medium.com/@piyushchauhan/debugging-c-and-c-with-vscode-77dae50eaf7f