Im trying to configure a C/C++ workspace in Visual Studio Code using Ubuntu Linux, and I don\'t know how to make the debugger work properly. I copied from the internet a \'t
In your task.json
file, no task is labeled as 'gcc build active file' which is required as a preLaunchTask
in launch.json
file.
So you can either change the label
of task or change the content of preLaunchTask
to make them match.
Just change the content of preLaunchTask
into "g++ build active file". It will work.