From 310cc48855d21cc37368c95a9e71faae889e1bac Mon Sep 17 00:00:00 2001 From: Woongsuk Cho Date: Thu, 20 Jun 2024 16:09:37 +0900 Subject: [PATCH] Use upstream config for debugger enable see: https://github.com/dotnet/runtime/pull/90159 --- NativeLauncher/launcher/lib/core_runtime.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NativeLauncher/launcher/lib/core_runtime.cc b/NativeLauncher/launcher/lib/core_runtime.cc index 77b3a27..3c2cb50 100644 --- a/NativeLauncher/launcher/lib/core_runtime.cc +++ b/NativeLauncher/launcher/lib/core_runtime.cc @@ -361,7 +361,7 @@ int CoreRuntime::initialize(const char* appType, LaunchMode launchMode) // Disable debugger for loader if (launchMode == LaunchMode::loader) { - putenv(const_cast("DOTNET_EnableDebugger=0")); + putenv(const_cast("DOTNET_EnableDiagnostics_Debugger=0")); } // Set environment variable for System.Environment.SpecialFolder -- 2.7.4