Blazor WASM .net 5 Debug.WriteLine not working
Carl Blanchard
71
Reputation points
Since .net 5 in my Blazor WASM solution Debug.WriteLine no longer works? why is this?
Console.WriteLine does work but I would prefer to use Debug.WriteLine as it's conditionally omitted from the production compilation.
Is it something I need to configure to get working again?
Regards
Developer technologies | .NET | Blazor
Developer technologies | .NET | Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML, developed by Microsoft.
Sign in to answer