If we enable the console on Windows, we might as well open it as fast as possible, since its purpose is debugging. (cherry picked from commit c9d76180)