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
2. In the *Machine.config* file, locate the compilation element. Debugging is enabled when the debug attribute in the compilation element is set to **true**.
47
-
3. If the debug attribute is **true**, change the debug attribute to **false**.
3. 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
+
4. If the debug attribute is **true**, change the debug attribute to **false**.
48
53
49
54
The following code sample shows the compilation element with debug set to **false**:
50
55
51
56
```xml
52
57
<compilationdebug="false"/>
53
58
```
54
59
55
-
4. Save the *Machine.config* file.
60
+
5. Save the *Machine.config* file.
61
+
62
+
## Method 3: Using the IIS Manager Console (if the web-application is hosted on IIS)
63
+
64
+
1. Open the IIS Manager Console on the computer where the website it hosted (you can press Windows+R key and type inetmgr.exe)
65
+
66
+
<insert picture from step 1>
67
+
2. Select the website or web-application for which you wish to enable or disable debug mode from the left hand side tree view
68
+
69
+
<insert picture from step 2>
70
+
3. From the middle-pane of the IIS Manager console, select the '.Net Compilation' icon
71
+
72
+
<insert picture from step 3>
73
+
4. Within the list of parameter values displayed in the center pane of the IIS Manager set the 'Debug' parameter under the 'Behavior' category to:
74
+
**true** if you wish to enable debug mode
75
+
**false** if you wish to disable debug mode
76
+
77
+
<insert picture from step 4>
78
+
5. Select the 'Apply' button from the right-hand side pane of the IIS manager console to persist the changes to the IIS configuration
0 commit comments