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
1. In the **Machine.config** file, locate the compilation element. Debugging is enabled when the debug attribute in the compilation element is set to `true`.
52
52
1. If the debug attribute is `true`, change the debug attribute to `false`.
53
53
@@ -63,23 +63,23 @@ You can also disable debugging for all applications on a system by modifying the
63
63
64
64
1. Open IIS Manager on the computer where the website is hosted (you can select <kbd>Windows</kbd> + <kbd>R</kbd> and type **inetmgr**):
65
65
66
-
:::image type="content" source="media/disable-debugging-application/aspnet-debug-step1.png" alt-text="Screenshot of typing inetmgr in the Run window.":::
66
+
:::image type="content" source="media/disable-debugging-application/type-inetmgr-run-window.png" alt-text="Screenshot of typing inetmgr in the Run window.":::
67
67
68
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
-
:::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.":::
70
+
:::image type="content" source="media/disable-debugging-application/enable-disable-debug-mode-web-application.png" alt-text="Screenshot of website or web application for which you want to enable or disable debug mode.":::
71
71
72
72
1. From the middle pane of IIS Manager, select the **.NET Compilation** icon:
73
73
74
-
:::image type="content" source="media/disable-debugging-application/aspnet-debug-step3.png" alt-text="Screenshot of the .Net Compilation icon.":::
74
+
:::image type="content" source="media/disable-debugging-application/net-compilation-icon.png" alt-text="Screenshot of the .NET Compilation icon.":::
75
75
76
76
1. Within the list of parameter values displayed in the middle pane of IIS Manager, set the value of **Debug** under the **Behavior** category to:
77
77
78
78
-**true**: Enable debug mode.
79
79
-**false**: Disable debug mode.
80
80
81
-
:::image type="content" source="media/disable-debugging-application/aspnet-debug-step4.png" alt-text="Screenshot of setting the value of Debug under the Behavior category.":::
81
+
:::image type="content" source="media/disable-debugging-application/set-value-debug-under-behavior-category.png" alt-text="Screenshot of setting the value of Debug under the Behavior category.":::
82
82
83
-
5. Select the **Apply** button from the right-hand side pane of IIS Manager to save the changes to the IIS configuration:
83
+
1. Select the **Apply** button from the right-hand side pane of IIS Manager to save the changes to the IIS configuration:
84
84
85
-
:::image type="content" source="media/disable-debugging-application/aspnet-debug-step5.png" alt-text="Screenshot of the Apply button in IIS Manager.":::
85
+
:::image type="content" source="media/disable-debugging-application/apply-button-iis-manager.png" alt-text="Screenshot of the Apply button in IIS Manager.":::
0 commit comments