使用VS code调试老是报错但是却可以Run Code 好疑惑求解答

每次用vscode 都可以Run code,但是调试程序都会弹出来这个框框,不知道该怎么解决,有没有大佬知道怎么回事?使用VS code调试老是报错但是却可以Run Code 好疑惑求解答_第1张图片
附上我的launch.jason 和tasks.jason

{
“version”: “0.2.0”,
“configurations”: [
{
“name”: “(gdb) Launch”,
“preLaunchTask”: “build”,
“type”: “cppdbg”,
“request”: “launch”,
“program”: “ f i l e D i r n a m e / {fileDirname}/ fileDirname/{fileBasenameNoExtension}.exe”,
“args”: [],
“stopAtEntry”: false,
“cwd”: “${workspaceFolder}”,
“environment”: [],
“externalConsole”: true,
“MIMode”: “gdb”,
“miDebuggerPath”: “E:\MinGW\mingw32\bin\gdb.exe”,
“setupCommands”: [
{
“description”: “Enable pretty-printing for gdb”,
“text”: “-enable-pretty-printing”,
“ignoreFailures”: true
}
]
}]
}

{
“version”: “2.0.0”,
“tasks”: [
{
“label”: “build”,
“type”: “shell”,
“group”: {
“kind”: “build”,
“isDefault”: true
},
“presentation”: {
“echo”: true,
“reveal”: “always”,
“focus”: false,
“panel”: “shared”
},
“windows”: {
“command”: “g++”,
“args”: [
“-ggdb”,
“”KaTeX parse error: Can't use function '\"' in math mode at position 7: {file}\̲"̲", …{fileDirname}\${fileBasenameNoExtension}.exe""
]
}
}
]
}

你可能感兴趣的:(vscode)