Implemented exception reporting when running in ASP.NET debug mode (closes #15).