I have 32 bit Eclipse Neon for C/C++ and installed the basic packages and c++ compiler for 32 bit MinGW. Everything in Eclipse seems to work fine except the debugger. When I tried debugging a simple hello world program, this is what the debugger will show:

The project's C/C++ settings->dialect is set to C++11. The debugger just seems to terminate after pressing debug. There is no thread tree and none of the step functions are active. I made sure the "Skip all breakpoints" is unchecked and there is one breakpoint in the image right next to the "cout". I have tried reinstalling both Eclipse and MinGW multiple times already and restarted my computer, but nothing seems to work.
EDIT: Here's a screenshot of the run configuration -> main tab for those who want it.
EDIT 2: A little update, so I added the MinGW bin's file path to Eclipse's Window -> Preferences -> C/C++ -> Build -> Environment variables, and I finally got an error message.
Also my setup is MinGW 32 bit with 64 bit Eclipse Neon C/C++. My professor along with most of my peers are using this setup and their debugger seem to be working fine, so it's definitely something on my part that's causing this error, but I don't know what.
