Debug Azure services in Visual Studio
You can use Visual Studio to debug Azure services in different scenarios:
To debug a production app hosted in:
Azure App Service
Using Visual Studio Enterprise, see Debug live ASP.NET apps using the Snapshot Debugger.
Using attach to process in Visual Studio, see Remote debug ASP.NET Core on Azure.
Azure App Service or Service Fabric, using Application Insights, see Debug snapshots on exceptions in .NET apps.
Azure virtual machine or Azure virtual machine scale set, see Debug live ASP.NET Azure Virtual Machines and Azure virtual machine scale sets using the Snapshot Debugger.
Azure Kubernetes Service, see Debug live ASP.NET Azure Kubernetes Services using the Snapshot Debugger.
To remote debug:
ASP.NET on Internet Information Services (IIS) (Azure App Service or an Azure VM), see Remote Debugging ASP.NET on Azure.
ASP.NET on Azure Service Fabric, see Debug a remote Service Fabric application