You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/debugger/remote-debugging-azure.md
+8-4Lines changed: 8 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -67,21 +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
83
84
-
If you see a message instructing your to install Cloud Explorer, install it. Then, right-click on the App Service instance in Cloud Explorer and choose **Attach Debugger**.
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**.
85
89
86
90
1. In the running ASP.NET application, click the link to the **About** page.
0 commit comments