


If you are debugging with GDB on Windows, see Windows Debugging with MinGW64. To learn more, see Configure C/C++ debugging. To debug your Cygwin or MinGW application, add the miDebuggerPath property and set its value to the location of the corresponding gdb.exe for your Cygwin or MinGW environment.įor example: "miDebuggerPath" : "c: \\ mingw \\ bin \\ gdb.exe"Ĭygwin/MinGW debugging on Windows supports both attach and launch debugging scenarios. To use Cygwin or MinGW debugging features, the debugger path must be set manually in the launch configuration ( launch.json). You can debug Windows applications created using Cygwin or MinGW by using VS Code.
