Fix exception when running on external console
Fix exception when running on external console

mono/debugger-libs,Unity-Technologies/debugger-libs,mono/debugger-libs,Unity-Technologies/debugger-libs,joj/debugger-libs,joj/debugger-libs