C/C++ debug settings template for VSCode
Minimal setting:
- set
c_cpp_properties.json
- change
"compilerPath": "C:\\msys64\\mingw64\\bin\\g++.exe"
into your own g++ compiler
- change
- set
launch.json
- change
"miDebuggerPath": "C:\\msys64\\mingw64\\bin\\gdb.exe"
into your own gdb debugger
- change
Run: (crtl+alt+B
)
- VS Code
- VS Code C/C++ extension
- MinGW