Visual Studio redirect to output to file and stdout at the same time

382 views Asked by At

I wish to run a debug session in Visual Studio and redirect the output to a file while also seeing it in the console in real-time.
I am able to redirect using > out.txt in the arguments field of the project's properties, but of course nothing shows in the console.
I am familiar with the powershell tee command to I downloaded wintee, which works fine in cmd. I tried using | wintee out.txt in the arguments field, but it just passes those as arguments to the process and wintee is never run.
Any ideas?

0

There are 0 answers