| title | Debug Azure services | |
|---|---|---|
| description | You can debug Azure services with Visual Studio. Use the links in this article to learn about the various ways to do this. | |
| ms.date | 09/22/2022 | |
| ms.topic | how-to | |
| helpviewer_keywords |
|
|
| author | mikejo5000 | |
| ms.author | mikejo | |
| ms.subservice | debug-diagnostics |
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