Windows ignores and allocate a console in debug mode