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: support/developer/webapps/aspnet/development/disable-debugging-application.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: Disable Debugging for ASP.NET Application
3
3
description: This article discusses how to disable debugging for ASP.NET applications.
4
-
ms.date: 03/19/2025
4
+
ms.date: 03/25/2025
5
5
ms.custom: sap:General Development
6
6
ms.topic: how-to
7
7
---
@@ -38,13 +38,13 @@ To disable debugging, add the compilation element to the *Web.config* file of th
38
38
39
39
## Method 2: Modify the Machine.config file
40
40
41
-
You can also disable debugging for all applications on a system by modifying the **Machine.config** file. To confirm debugging hasn't been enabled in the **Machine.config** file, follow these steps:
41
+
You can also disable debugging for all applications on a system by modifying the **Machine.config** file. To confirm that debugging isn't enabled in the **Machine.config** file, follow these steps:
42
42
43
43
1. Open the **Machine.config** file in a text editor, such as Notepad. The file is typically located in the following folder:
@@ -65,21 +65,21 @@ You can also disable debugging for all applications on a system by modifying the
65
65
66
66
:::image type="content" source="media/disable-debugging-application/aspnet-debug-step1.png" alt-text="Screenshot of typing inetmgr in the Run window.":::
67
67
68
-
1. Select the website or web application for which you wish to enable or disable debug mode from the lefthand side tree view:
68
+
1. Select the website or web application for which you want to enable or disable debug mode from the left-hand side tree view:
69
69
70
70
:::image type="content" source="media/disable-debugging-application/aspnet-debug-step2.png" alt-text="Screenshot of website or web application for which you wish to enable or disable debug mode.":::
71
71
72
-
1. From the middle-pane of the IIS Manager console, select the **.Net Compilation** icon:
72
+
1. From the middlepane of the IIS Manager console, select the **.NET Compilation** icon:
73
73
74
74
:::image type="content" source="media/disable-debugging-application/aspnet-debug-step3.png" alt-text="Screenshot of the .Net Compilation icon.":::
75
75
76
-
1. Within the list of parameter values displayed in the center pane of the IIS Manager, set the value of **Debug** under the **Behavior** category to:
76
+
1. Within the list of parameter values displayed in the middle pane of the IIS Manager Console, set the value of **Debug** under the **Behavior** category to:
5. Select the **Apply** button from the right-hand side pane of the IIS manager console to persist the changes to the IIS configuration:
83
+
5. Select the **Apply** button from the right-hand side pane of the IIS Manager Console to save the changes to the IIS configuration:
84
84
85
85
:::image type="content" source="media/disable-debugging-application/aspnet-debug-step5.png" alt-text="Screenshot of the Apply button in IIS Manager.":::
0 commit comments