This document contains two configurations for debugging C++ programs in Visual Studio Code. The first configuration builds and debugs the active file using g++ and gdb, displaying output in the debugger. The second configuration builds, runs, and attaches gdb to the active file, displaying output in an external console. Both configurations use g++ and gdb from MinGW, and enable pretty printing for gdb.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
129 views1 page
Visual Studio Code
This document contains two configurations for debugging C++ programs in Visual Studio Code. The first configuration builds and debugs the active file using g++ and gdb, displaying output in the debugger. The second configuration builds, runs, and attaches gdb to the active file, displaying output in an external console. Both configurations use g++ and gdb from MinGW, and enable pretty printing for gdb.