I'm trying to debug a SignalR connection issue, and while I know how to enable client side logging, I have no idea how to enable server side logging. It doesn't seem to be logging anything to the console.
I've tried using EnableDetailedErrors = true in my HubConfiguration, but that doesn't seem to do anything.
I was trying to debug a 500 Internal Server Error response, and couldn't figure out how to enable exception logging. Thanks to David Fowler, the maintainer of SignalR who helped me on IRC, here is how to enable exception reporting:
Install Microsoft.Owin.Diagnostics via NuGet
Add app.UseErrorPage();
before you're calling MapHubs()
Now instead of a 500 error, you'll get a copy of the exception returned.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With