Skip to content

Commit 4096445

Browse files
tommcdontdykstra
andauthored
Update DOTNET_EnableDiagnostics setting documentation (#38931)
* Update DOTNET_EnableDiagnostics setting documentation * Update docs/core/tools/dotnet-environment-variables.md Co-authored-by: Tom Dykstra <[email protected]> * Update docs/core/tools/dotnet-environment-variables.md Co-authored-by: Tom Dykstra <[email protected]> * Update docs/core/tools/dotnet-environment-variables.md Co-authored-by: Tom Dykstra <[email protected]> * Update docs/core/tools/dotnet-environment-variables.md Co-authored-by: Tom Dykstra <[email protected]> --------- Co-authored-by: Tom Dykstra <[email protected]>
1 parent 5f11283 commit 4096445

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/core/tools/dotnet-environment-variables.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,19 +167,19 @@ Configures the runtime to pause during startup and wait for the _Diagnostics IPC
167167

168168
### `DOTNET_EnableDiagnostics`
169169

170-
When set to `1`, enables debugging, profiling, and other diagnostics via the [Diagnostic Port](../diagnostics/diagnostic-port.md). Defaults to 1.
170+
When set to `0`, disables debugging, profiling, and other diagnostics via the [Diagnostic Port](../diagnostics/diagnostic-port.md) and can't be overridden by other diagnostics settings. Defaults to `1`.
171171

172172
### `DOTNET_EnableDiagnostics_IPC`
173173

174-
Starting with .NET 8, when set to `1`, enables the [Diagnostic Port](../diagnostics/diagnostic-port.md). Defaults to 1.
174+
Starting with .NET 8, when set to `0`, disables the [Diagnostic Port](../diagnostics/diagnostic-port.md) and can't be overridden by other diagnostics settings. Defaults to `1`.
175175

176176
### `DOTNET_EnableDiagnostics_Debugger`
177177

178-
Starting with .NET 8, when set to `1`, enables debugging. Defaults to 1.
178+
Starting with .NET 8, when set to `0`, disables debugging and can't be overridden by other diagnostics settings. Defaults to `1`.
179179

180180
### `DOTNET_EnableDiagnostics_Profiler`
181181

182-
Starting with .NET 8, when set to `1`, enables profiling. Defaults to 1.
182+
Starting with .NET 8, when set to `0`, disables profiling and can't be overridden by other diagnostics settings. Defaults to `1`.
183183

184184
### EventPipe variables
185185

0 commit comments

Comments
 (0)