From 51798412558c19ab7c1346d08393eb55e780a6f8 Mon Sep 17 00:00:00 2001 From: Tom McDonald Date: Mon, 1 Jan 2024 13:20:45 -0500 Subject: [PATCH 1/5] Update DOTNET_EnableDiagnostics setting documentation --- 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..9728c233e7067 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 cannot be overriden 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 cannot be overriden 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 cannot be overriden 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 cannot be overriden by other diagnostics settings. Defaults to 1. ### EventPipe variables From 535746ee8e5c3afd48c37f9077e324867bec2b6f Mon Sep 17 00:00:00 2001 From: Tom McDonald Date: Mon, 1 Jan 2024 22:50:58 -0500 Subject: [PATCH 2/5] Update docs/core/tools/dotnet-environment-variables.md Co-authored-by: Tom Dykstra --- docs/core/tools/dotnet-environment-variables.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/core/tools/dotnet-environment-variables.md b/docs/core/tools/dotnet-environment-variables.md index 9728c233e7067..f6aade7b318eb 100644 --- a/docs/core/tools/dotnet-environment-variables.md +++ b/docs/core/tools/dotnet-environment-variables.md @@ -167,7 +167,7 @@ Configures the runtime to pause during startup and wait for the _Diagnostics IPC ### `DOTNET_EnableDiagnostics` -When set to `0`, disables debugging, profiling, and other diagnostics via the [Diagnostic Port](../diagnostics/diagnostic-port.md) and cannot be overriden by other diagnostics settings. 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` From b7b78c0a17d7dc958ded8ebda19ad35575f99fbe Mon Sep 17 00:00:00 2001 From: Tom McDonald Date: Mon, 1 Jan 2024 22:51:05 -0500 Subject: [PATCH 3/5] Update docs/core/tools/dotnet-environment-variables.md Co-authored-by: Tom Dykstra --- docs/core/tools/dotnet-environment-variables.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/core/tools/dotnet-environment-variables.md b/docs/core/tools/dotnet-environment-variables.md index f6aade7b318eb..1d706fdf285ee 100644 --- a/docs/core/tools/dotnet-environment-variables.md +++ b/docs/core/tools/dotnet-environment-variables.md @@ -175,7 +175,7 @@ Starting with .NET 8, when set to `0`, disables the [Diagnostic Port](../diagnos ### `DOTNET_EnableDiagnostics_Debugger` -Starting with .NET 8, when set to `0`, disables debugging and cannot be overriden by other diagnostics settings. 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` From 29316f8d5095d38e110b5ed155eb8ea423128bb4 Mon Sep 17 00:00:00 2001 From: Tom McDonald Date: Mon, 1 Jan 2024 22:51:10 -0500 Subject: [PATCH 4/5] Update docs/core/tools/dotnet-environment-variables.md Co-authored-by: Tom Dykstra --- docs/core/tools/dotnet-environment-variables.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/core/tools/dotnet-environment-variables.md b/docs/core/tools/dotnet-environment-variables.md index 1d706fdf285ee..d01eec3457df4 100644 --- a/docs/core/tools/dotnet-environment-variables.md +++ b/docs/core/tools/dotnet-environment-variables.md @@ -179,7 +179,7 @@ Starting with .NET 8, when set to `0`, disables debugging and can't be overridde ### `DOTNET_EnableDiagnostics_Profiler` -Starting with .NET 8, when set to `0`, disables profiling and cannot be overriden by other diagnostics settings. 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 From 5230c25d88c38ce6a00867ea2aa93f557adf31f0 Mon Sep 17 00:00:00 2001 From: Tom McDonald Date: Mon, 1 Jan 2024 22:51:21 -0500 Subject: [PATCH 5/5] Update docs/core/tools/dotnet-environment-variables.md Co-authored-by: Tom Dykstra --- docs/core/tools/dotnet-environment-variables.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/core/tools/dotnet-environment-variables.md b/docs/core/tools/dotnet-environment-variables.md index d01eec3457df4..7bd3b5f848fdc 100644 --- a/docs/core/tools/dotnet-environment-variables.md +++ b/docs/core/tools/dotnet-environment-variables.md @@ -171,7 +171,7 @@ When set to `0`, disables debugging, profiling, and other diagnostics via the [D ### `DOTNET_EnableDiagnostics_IPC` -Starting with .NET 8, when set to `0`, disables the [Diagnostic Port](../diagnostics/diagnostic-port.md) and cannot be overriden by other diagnostics settings. 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`