I recently installed C++ in VSCode and it allows me to edit source files with syntax highlighting but when I run, either with our without the debugger, it says the executable does not exist.
The specific messsage is:
launch: /home/anna-naden/DELS/cpp-parquet/build/Debug/outDebug does not exist
Here is my launch.json
{
"version": "0.2.0",
"configurations": [
{
"name": "C/C++ Runner: Debug Session",
"type": "cppdbg",
"request": "launch",
"args": [],
"stopAtEntry": false,
"externalConsole": false,
"cwd": "/home/anna-naden/DELS/cpp-parquet",
"program": "/home/anna-naden/DELS/cpp-parquet/build/Debug/outDebug",
"MIMode": "gdb",
"miDebuggerPath": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
}
]
}