My understanding is that you need to register a listener to the trace output, but how would that even look like? Is there a trace stream associated with each execution of the application that Visual Studio/Rider listens to?
We can rephrase this question by asking:
How to write a simple console app that executes another application and listen to its trace output.