What is the simplest way to run a C# program in linux (eg with `dotnet`) and be able to see the output of Debug.Print statements? All the instructions I find on Google only show how to do this in VS Code and I am not currently using VS Code.
@mcc
I used DuckDuckGo to search:
dotnet core debug.print -"VS code" -"Visual Studio"
The third link was: https://learn.microsoft.com/en-us/dotnet/core/diagnostics/dotnet-stack
Which led me to:
https://learn.microsoft.com/en-us/dotnet/core/diagnostics/tools-overview?source=recommendations
Which suggests VSCode... but also mentions:
https://learn.microsoft.com/en-us/dotnet/core/diagnostics/dotnet-sos
Which supposedly supports lldb?
I then used DDG to search:
dotnet core sos debug print
Which led to this blog post:
https://devblogs.microsoft.com/premier-developer/debugging-net-core-with-sos-everywhere/
Good luck!