How can I see debug messages with Mono applications?

I have various Debug.WriteLine messages, I tried to view these messages using the export MONO_DEBUG_LEVEL = debug, but in the end I get other irrelevant debug messages that were not output by my code.

What to do to see debug messages?

I am using Linux :) Thank you.

+3
source share
2 answers

run it with the mono shell --debug

+1
source

, , (stderr). (stdout), 2>&1. , 1>&2, 1 stdout 2 stderr.

stderr :

mono <youapp> 2>&1

stderr stdout stdout:

mono <youapp> &>&1
0

Source: https://habr.com/ru/post/1736069/


All Articles