How would I go about setting up the intellisense debugger on visual studio code on my mac? i already downloaded all the c intellisense stuff, and whenever I try to do the debug option, it says "Unable to start debugging. Launch options string provided by the project system is invalid. Unable to determine path to debugger. Please specify the "MIDebuggerPath" option.". why is that and how can i fix it?
here is my launch.json file in the .vscode folder in my project:
Code:
Thank you in advance!
here is my launch.json file in the .vscode folder in my project:
Code:
{
"version": "0.2.0",
"configurations": [
{
"name": "(lldb) Launch",
"type": "cppdbg",
"request": "launch",
"program": "bin.out",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "lldb"
},
{
"name": "Debug",
"type": "cppdbg",
"request": "launch",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"linux": {
"MIMode": "gdb",
"miDebuggerPath": "gdb",
"program": "${workspaceFolder}/output/main"
},
"osx": {
"MIMode": "lldb",
"miDebuggerPath": "gbd",
"program": "${workspaceFolder}/output/main"
},
"preLaunchTask": "build"
}
]
}
Thank you in advance!