Skip to content

Commit 34c962e

Browse files
authored
bold file names
1 parent 57df96a commit 34c962e

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

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

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ description: This article discusses how to disable debugging for ASP.NET applica
44
ms.date: 03/25/2025
55
ms.custom: sap:General Development
66
ms.topic: how-to
7+
ms.reviewer: paulboc
78
---
89
# Disable debugging for ASP.NET applications
910

@@ -18,14 +19,14 @@ ASP.NET supports compiling applications in a special debug mode that helps devel
1819

1920
Debugging is disabled by default. Debugging is frequently enabled to troubleshoot a problem. But it's frequently not disabled after the problem is resolved. This article describes how to disable debugging for an ASP.NET application.
2021

21-
To disable debugging, modify the *Web.config* file or the *Machine.config* file, as detailed in the following sections.
22+
To disable debugging, modify the **Web.config** file or the **Machine.config** file, as detailed in the following sections.
2223

2324
## Method 1: Modify the Web.config file
2425

25-
To disable debugging, add the compilation element to the *Web.config* file of the application by following these steps. The *Web.config* file is located in the application directory.
26+
To disable debugging, add the compilation element to the **Web.config** file of the application by following these steps. The **Web.config** file is located in the application directory.
2627

27-
1. Open the *Web.config* file in a text editor, such as Notepad. The file is typically located in the application directory.
28-
2. In the *Web.config* file, locate the compilation element. Debugging is enabled when the debug attribute in the compilation element is set to `true`.
28+
1. Open the **Web.config** file in a text editor, such as Notepad. The file is typically located in the application directory.
29+
2. In the **Web.config** file, locate the compilation element. Debugging is enabled when the debug attribute in the compilation element is set to `true`.
2930
3. Change the debug attribute to `false` to disable debugging for that application.
3031

3132
The following code sample shows the compilation element with debug set to `false`:
@@ -34,7 +35,7 @@ To disable debugging, add the compilation element to the *Web.config* file of th
3435
<compilation debug="false"/>
3536
```
3637

37-
4. Save the *Web.config* file. The ASP.NET application automatically restarts.
38+
4. Save the **Web.config** file. The ASP.NET application automatically restarts.
3839

3940
## Method 2: Modify the Machine.config file
4041

0 commit comments

Comments
 (0)