If are getting error after deploying your ASP.Net Core application in Azure PaaS environment and want to see quick error stack then you need to make change in web.config file
1. Web.config file settings:-
<environmentVariable name=”ASPNETCORE_ENVIRONMENT” value=”Development” />
Also check your appsetting.json file.