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 non-committal answer: I think you can `dotnet build path/to/dir/containing/the/sln/file` the thing and just run it? Fuck, I don't know what sort of control the output log levels or whatever.
@onelson Debug.Print isn't a "log level". It sends information to an attached debugger, and if no debugger is attached it is a noop
@mcc what the fuck, geez
@onelson Microsoft ¯\_(ツ)_/¯
@mcc I would simply give up
@onelson I mean seriously the answer is probably going to be "just fuck off, and ask Christine to run it tomorrow on her Windows machine, where this stuff is set up"
@mcc I mean, I think VS Code is something you can get pretty trivially. I don't know what sort of baggage there is to do dotnet stuff in there. If it were Visual Studio (non-Code) I'm assuming it's all greased lightning.

@onelson I have vs code on this machine but there's an awkward issue where we've already got separate, unique vs code execution scripts set up for Windows and Mac hosts and this raises the question of (1) will the Mac launch.json simply work on linux? (2) will the Mac launch.json need modification to work on Linux? (3) will the Mac launch.json do something *subtly but silently wrong*, such as misinvoke msbuild prebuild steps, on Linux?

Simple to test but simpler to ask Christine to test it!

@mcc Yeah, I agree. Christine is the fix.

@mcc @onelson What does your *.csproj look like?

is OutputType "Exe" or "WinExe"?

I just use System.Console.WriteLine in a pinch, but that only works for "WinExe" as I understand it...

I'd test more but pretty sure you're already getting feedback from Christine at this point.