Advertisement

使用VS Code对C/C++项目进行编译和调试在Linux Ubuntu系统上

阅读量:

launch.json

复制代码
    {
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "client",
            "type": "cppdbg",
            "request": "launch",
            "program": "${workspaceFolder}/build/client",// 需要调试的程序
            "args": [],                 //调试时传递给程序的参数
            "stopAtEntry": false,       // 调试时是否停在程序入口:{true:是,false:否}
            "cwd": "${workspace

全部评论 (0)

还没有任何评论哟~