Debugging and Error Handling in ASP.NET Core