I don't know if it's possible to redirect to a proper console window, however it can redirect to a file (which is more useful IMHO) - under Run/Debug settings -> Common -> Standard Input and Output (it can even write to console and file at the same time).