VScode中launch和task配置问题

先附上一套:
													launch:
{
"name": "(gdb) 启动",
"type": "cppdbg",
"request": "launch",
"program": "${fileDirname}/bin/${fileBasenameNoExtension}",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
    {
        "description": "为 gdb 启用整齐打印",
        "text": "-enable-pretty-printing",
        "ignoreFailures": true
    }
]

}
],
“preLaunchTask”:“g++ build active file”,
“miDebuggerPath”:"/usr/bin/gdb"
}

							task

{
“version”: “2.0.0”,
“tasks”: [
{
“type”: “shell”,
“label”: “C/C++: g++ build active file”,
“command”: “/usr/bin/g++”,
“args”: [
“-g”,
“-pthread”,
f i l e " , " − o " , " {file}", "-o", " file","o","{fileDirname}/bin/KaTeX parse error: Expected '}', got 'EOF' at end of input: … "cwd": "{workspaceFolder}”
},
“problemMatcher”: [
“$gcc”
],
“group”: “build”
}
]
}

你可能感兴趣的:(VScode中launch和task配置问题)