|
1 | 1 | ---
|
2 | 2 | title: "Remote Debug ASP.NET Core on IIS and Azure | Microsoft Docs"
|
3 | 3 | ms.custom: "remotedebugging"
|
4 |
| -ms.date: "05/21/2018" |
| 4 | +ms.date: "04/14/2020" |
5 | 5 | ms.topic: "conceptual"
|
6 | 6 | ms.assetid: a6c04b53-d1b9-4552-a8fd-3ed6f4902ce6
|
7 | 7 | author: "mikejo5000"
|
@@ -67,19 +67,25 @@ Debugging between two computers connected through a proxy is not supported. Debu
|
67 | 67 |
|
68 | 68 | From Visual Studio, you can quickly publish and debug your app to a fully provisioned instance of IIS. However, the configuration of IIS is preset and you cannot customize it. For more detailed instructions, see [Deploy an ASP.NET Core web app to Azure using Visual Studio](/aspnet/core/tutorials/publish-to-azure-webapp-using-vs). (If you need the ability to customize IIS, try debugging on an [Azure VM](#remote_debug_azure_vm).)
|
69 | 69 |
|
70 |
| -#### To deploy the app and remote debug using Server Explorer |
| 70 | +#### To deploy the app and remote debug using Cloud Explorer |
71 | 71 |
|
72 | 72 | 1. In Visual Studio, right-click the project node and choose **Publish**.
|
73 | 73 |
|
74 | 74 | If you have previously configured any publishing profiles, the **Publish** pane appears. Click **New profile**.
|
75 | 75 |
|
76 |
| -1. Choose **Azure App Service** from the **Publish** dialog box, select **Create New**, and follow the prompts to publish. |
| 76 | +1. Choose **Azure App Service** from the **Publish** dialog box, select **Create New**, and follow the prompts to create a profile. |
77 | 77 |
|
78 | 78 | For detailed instructions, see [Deploy an ASP.NET Core web app to Azure using Visual Studio](/aspnet/core/tutorials/publish-to-azure-webapp-using-vs).
|
79 | 79 |
|
80 | 80 | 
|
81 | 81 |
|
82 |
| -1. Open **Server Explorer** (**View** > **Server Explorer**), right-click on the App Service instance and choose **Attach Debugger**. |
| 82 | +1. In the Publish window, choose **Edit Configuration** and switch to a Debug configuration, and then choose **Publish**. |
| 83 | + |
| 84 | + A Debug configuration is required to debug the app. |
| 85 | + |
| 86 | +1. Open **Cloud Explorer** (**View** > **Cloud Explorer**), right-click on the App Service instance and choose **Attach Debugger**. |
| 87 | + |
| 88 | + If Cloud Explorer is not available, open Server Explorer instead. Then, right-click on the App Service instance in Server Explorer and choose **Attach Debugger**. |
83 | 89 |
|
84 | 90 | 1. In the running ASP.NET application, click the link to the **About** page.
|
85 | 91 |
|
|
0 commit comments