From 40964458b707000b9164474bb28a876a78734fbb Mon Sep 17 00:00:00 2001 From: Tom McDonald Date: Mon, 1 Jan 2024 23:34:17 -0500 Subject: [PATCH] Update DOTNET_EnableDiagnostics setting documentation (#38931) * Update DOTNET_EnableDiagnostics setting documentation * Update docs/core/tools/dotnet-environment-variables.md Co-authored-by: Tom Dykstra * Update docs/core/tools/dotnet-environment-variables.md Co-authored-by: Tom Dykstra * Update docs/core/tools/dotnet-environment-variables.md Co-authored-by: Tom Dykstra * Update docs/core/tools/dotnet-environment-variables.md Co-authored-by: Tom Dykstra --------- Co-authored-by: Tom Dykstra --- docs/core/tools/dotnet-environment-variables.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/core/tools/dotnet-environment-variables.md b/docs/core/tools/dotnet-environment-variables.md index 82d4c1962ff1b..7bd3b5f848fdc 100644 --- a/docs/core/tools/dotnet-environment-variables.md +++ b/docs/core/tools/dotnet-environment-variables.md @@ -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