To configure an app to display a page that shows detailed information about exceptions, use the developer exception page.Place the call to UseDeveloperExceptionPage in front of any middleware where you want to catch exceptions.Enable the developer exception page only when the app is running in the Development environment. You don't want to share detailed exception information publicly when the app runs in production