How to output to console in UWP on Windows 10?

前端 未结 4 747
星月不相逢
星月不相逢 2020-12-29 17:44

Is there a way to write to console / command prompt / powershell (like Console.WriteLine()) or anything similar in UWP apps?

If console is unavailable i

4条回答
  •  伪装坚强ぢ
    2020-12-29 18:44

    I just want to also add that debug.writeline seems to best work on the main thread so if async/await is used use something like Device.BeginInvokeOnMainThread(() => Debug.WriteLine(response)); to print to the console

提交回复
热议问题