Middleware to show diagnostic information about a site, including error pages.