Visual Studio: Hang when running command-line tools

Command-line tools that used the error stream (like git.exe) would cause a hang in the PowerShell debugger.