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.
I have to say I already thought C#/.NET was the most search-engine-unfriendly programming language/environment in the world just based on those names, but then in 2015 when Microsoft decided to name a core component "dotnet" was when the unsearchability REALLY went into hyperdrive
Need to look up documentation on how i do a thing in dotnet. No not how I do it in .NET, how I do it in dotnet. If the documentation calls it .NET it's going to be giving me incorrect directions. Only dotnet is okay.

@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!

dotnet-stack diagnostic tool - .NET CLI - .NET

Learn how to install and use the dotnet-stack CLI tool which captures and prints the managed stacks for all threads in the target .NET process.

@djm Thank you very much, this is helpful