Getting console output on Windows has always been a mystery for me, and I don’t think I ever figured out a workaround.
Maybe notes from this bug submitted back in 2013 about this issue will help you: https://issues.slicer.org/view.php?id=2934. But reading the notes in that issue, I do not see an actionable workaround. Maybe I just need to re-read it several more times, but fortunately I don’t have to use Windows, not at the moment anyway.