When I debug a .c file.It is follows:

@mazhan465 Can you share with me how this was compiled and your launch.json file contents?
@mazhan465 if you use the Visual C++ debugger on windows, the executable needs to be compiled with Visual C/C++. If you are debugging a gcc/g++ compiled app you need to choose gdb as the debugging option when initially setting up the launch.json file. You can delete the launch.json file and hit the gear button and choose the C++ (GDB\LLDB) option.
Thanks.I have solve this problem for debuging with GDB.I think the error is that I haven't compiled with vcbuildtools.
try creating a folder in the same environment of python or cpp and add your code file into it. then open the vs code, it worked for me. I was getting this error while coding in tensorflow python.

@haneeshh Is this with debugging C++? Your screenshot doesn't show any error.
Its just I wanted to share how I solved this error. @sean-mcmanus ,there are no errors in the screenshot yes.
@haneeshh Yeah, I misunderstood. I thought you were reporting a bug :)
@sean-mcmanus no worries :)
Hi,
Im unable get output using windows. I have installed C++ extension and minGW 64.
I tried using c++(GDB/LLDB) also but it didn't work for me. It shows miDebugerpath error but the path was proper.
I use python also have this problem!

can anyone help me to run my first program in c
@durga-koppisetti We have some docs at https://code.visualstudio.com/docs/cpp/config-mingw . "helloworld" isn't a valid file -- it seems to be helloworld.exe....there might be other issues too.
Most helpful comment
Hi,
Im unable get output using windows. I have installed C++ extension and minGW 64.
I tried using c++(GDB/LLDB) also but it didn't work for me. It shows miDebugerpath error but the path was proper.