I knew once, but I have forgotten (sorry, senior moment here) and I can't find it again.
What is it that controls whether the Windows o/s console window shows for debugging?

I'm building a release, and it is still showing up.

My pro file has
CONFIG += release \
help