Skip to content

Commit 8807fc1

Browse files
committed
Update ASP.NET guidance to disable debugging in applications
1 parent 6c63272 commit 8807fc1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

support/developer/webapps/aspnet/development/disable-debugging-application.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ You can also disable debugging for all applications on a system by modifying the
6060

6161
1. Save the **Machine.config** file.
6262

63+
**Caution** : Do not directly edit Machine.config unless you fully understand the impact. This file applies globally to all .NET applications on the server, and mistakes can break other applications. Prefer setting debug="false" in the application’s Web.config or via IIS Manager to target only specific sites.
64+
6365
## Method 3: Using IIS Manager (if the web application is hosted on IIS)
6466

6567
1. Open IIS Manager on the computer where the website is hosted (you can select <kbd>Windows</kbd> + <kbd>R</kbd> and type **inetmgr**):

0 commit comments

Comments
 (0)