Answer the question
In order to leave comments, you need to log in
How can gcc in MinGW make friends with VS CODE (visual studio code) so that you can see the execution directly in the program console?
Actually, I installed MINGW, installed gcc and would like to debug in VS Code. I put the plugin for C / C ++ all in the same VS Code, but it doesn’t work out to configure, someone’s experience is needed. Help if not difficult. Thank you!
ps
folder /MinGW/bin in my environment variables path is registered
Answer the question
In order to leave comments, you need to log in
Excuse me, why do you want to debug in VS Code? It's essentially a text editor with syntax highlighting. You'd be better off using a full-fledged VS with the appropriate GDB plugin, or use cv2pdb at the post-build stage to convert debug symbols to PDB format. Then you will be able to debug in a full-fledged IDE from soft ones. Alternatively, you can switch to QtCreator or Clion or other IDEs with GDB support /
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question