An example and experimentation of how to compile and debug native Windows C/C++ apps with MinGW x64 g++ compiler, gdb debugger on Windows 10. Using VSCode as an IDE.
To build, open external MSYS2 shell and run make.
To install MinGW on Windows follow: https://code.visualstudio.com/docs/cpp/config-mingw