Under VS\'s external tools settings there is a \"Use Output Window\" check box that captures the tools command line output and dumps it to a VS tab.
The question is:
Maybe this will work for you: set a breakpoint on the close }
in Main
, and then look at the console window before it closes. You can even copy the text out of it if you need to.
On every machine that I use for development, I configure my console window in a certain way, which happens to make this approach work better: