You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having issues trying to get Clang ++ debugger to work I've followed the instructions on the website https://code.visualstudio.com/docs/languages/cpp I got the intellisense, I compiled my C++ using g++ followed by -g and the file path as shown
nasser$ g++ -g /Users/nasseralhouti/algo/twoSumNumber.cpp
this created an a.out file under my .vscode directory
I set the debugger to c++ build and debug active
but when I run the debugger it outputs PreLaunch task 'Build' terminated with exit code 1.
so I'm assuming it's something in my tasks.json file which is
since this was preconfigured I'm not really sure how it works
since the intelisense is working I'm assuming my /Users/nasseralhouti/algo/.vscode/c_cpp_properties.json
works fine
so does it have to do with my tasks.json not finding the xcode path debugger ?
looking at the lauch.json I'm not really sure what's it used for
I would like the problem to be resolved but more importantly understand how my json files are configured so that I could figure out how to fix future configurations problems like debugging in dart or angular.