I have installed GCC compiler with mingw on my windows machine. I write my code on notepad++ and run in command promote.

I found GDB stands for GNU Project Debugger and is a debugging tool for C

How to use GDB for debugging code ?