Skip to content

Commit

Permalink
Update DOTNET_EnableDiagnostics setting documentation (#38931)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
tommcdon and tdykstra authored Jan 2, 2024
1 parent 5f11283 commit 4096445
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/core/tools/dotnet-environment-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,19 +167,19 @@ Configures the runtime to pause during startup and wait for the _Diagnostics IPC

### `DOTNET_EnableDiagnostics`

When set to `1`, enables debugging, profiling, and other diagnostics via the [Diagnostic Port](../diagnostics/diagnostic-port.md). Defaults to 1.
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`.

### `DOTNET_EnableDiagnostics_IPC`

Starting with .NET 8, when set to `1`, enables the [Diagnostic Port](../diagnostics/diagnostic-port.md). Defaults to 1.
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`.

### `DOTNET_EnableDiagnostics_Debugger`

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

### `DOTNET_EnableDiagnostics_Profiler`

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

### EventPipe variables

Expand Down

0 comments on commit 4096445

Please sign in to comment.