I know we can use a file to simulate console input but would really like this to work in debug just like in release mode.