From 8807fc1237f4465ace670e9e08c344ac495769ef Mon Sep 17 00:00:00 2001 From: Parag Hurkat Date: Fri, 19 Dec 2025 18:53:37 +0530 Subject: [PATCH] Update ASP.NET guidance to disable debugging in applications --- .../webapps/aspnet/development/disable-debugging-application.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/support/developer/webapps/aspnet/development/disable-debugging-application.md b/support/developer/webapps/aspnet/development/disable-debugging-application.md index 57fe92997ba..9cca80fb34d 100644 --- a/support/developer/webapps/aspnet/development/disable-debugging-application.md +++ b/support/developer/webapps/aspnet/development/disable-debugging-application.md @@ -60,6 +60,8 @@ You can also disable debugging for all applications on a system by modifying the 1. Save the **Machine.config** file. +**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. + ## Method 3: Using IIS Manager (if the web application is hosted on IIS) 1. Open IIS Manager on the computer where the website is hosted (you can select Windows + R and type **inetmgr**):