I am using the gcc/g++ compiler using msys64 and mingw64 with VsCode. I've attached the bash.exe of mingw64 to my VsCode terminal. I can run my programs on the bash terminal using g++ file_name.cpp &&./a.exe
. But how do I debug my programs?
Actually debugging in VScode is a bit tricky. Have you followed the methods here-
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.