Skip to content

Commit c031e8e

Browse files
committed
Hamid review comments
1 parent 8de3dcd commit c031e8e

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

articles/azure-functions/functions-develop-vs.md

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -217,21 +217,11 @@ This section assumes you've already published to your function app using a relea
217217

218218
### Remote debugging considerations
219219

220-
* If you didn't originally publish a debug configuration of your project, you have to republish a debug version of the app.
221220
* Remote debugging isn't recommended on a production service.
222221
* If you have [Just My Code debugging](/visualstudio/debugger/just-my-code#BKMK_Enable_or_disable_Just_My_Code) enabled, disable it.
223222
* Avoid long stops at breakpoints when remote debugging. Azure treats a process that is stopped for longer than a few minutes as an unresponsive process, and shuts it down.
224223
* While you're debugging, the server is sending data to Visual Studio, which could affect bandwidth charges. For information about bandwidth rates, see [Azure Pricing](https://azure.microsoft.com/pricing/calculator/).
225-
226-
### Republish debug build
227-
228-
To republish a debug configured project to your function app in Azure:
229-
230-
1. In the Solution Explorer, right-click your project and select **Publish**.
231-
232-
1. Under **Settings** select **Show all settings** and change **Configuration** to a **Debug** configuration.
233-
234-
1. Choose **Save** and then select **Publish** to republish a debug configured version of your project to your existing function app.
224+
* Remote debugging is automatically disabled in your function app after 48 hours. After 48 hours, you'll need to reenable remote debugging.
235225

236226
### Attach the debugger
237227

@@ -287,13 +277,13 @@ To attach a remote debugger to a function app running in a process separate from
287277

288278
### Disable remote debugging
289279

290-
After you're done remote debugging your code, you should disable remote debugging in the Azure portal. You can use this same process to enable remote debugging outside of Visual Studio.
280+
After you're done remote debugging your code, you should disable remote debugging in the [Azure portal](https://portal.azure.com). Remote debugging is automatically disabled after 48 hours, in case you forget.
291281

292282
1. In the **Publish** tab in your project, select the ellipses (**...**) in the **Hosting** section, and choose **Open in Azure portal**. This action opens the function app in the Azure portal to which your project is deployed.
293283

294284
1. In the functions app, select **Configuration** under **settings**, choose **General Settings**, set **Remote Debugging** to **Off**, and select **Save** then **Continue**.
295285

296-
After the function app restarts, you can no longer remotely connect to your remote processes. You might also want to republish a release configuration of your project.
286+
After the function app restarts, you can no longer remotely connect to your remote processes. You can use this same tab in the Azure portal to enable remote debugging outside of Visual Studio.
297287

298288
## Monitoring functions
299289

0 commit comments

Comments
 (0)