[platform] launcher: no more debug mode by default in the "remote dev" mode (IJPL-34994)

GitOrigin-RevId: 99256cfdd1c7ddbdfd610f06dc499be1823f6147
This commit is contained in:
Roman Shevchenko
2025-02-17 20:17:35 +01:00
committed by intellij-monorepo-bot
parent c64583fdd5
commit e8961c4fe1
2 changed files with 2 additions and 1 deletions

View File

@@ -77,7 +77,7 @@ pub fn main_lib() {
let remote_dev = remote_dev_launcher_used || server_mode_argument_used;
let sandbox_subprocess = cfg!(target_os = "windows") && env::args().any(|arg| arg.contains("--type="));
let debug_mode = remote_dev || env::var(DEBUG_MODE_ENV_VAR).is_ok();
let debug_mode = env::var(DEBUG_MODE_ENV_VAR).is_ok();
#[cfg(target_os = "windows")]
{

View File

@@ -578,6 +578,7 @@ fn run_launcher_impl(test_env: &TestEnvironment, run_spec: &LauncherRunSpec) ->
(DEBUG_MODE_ENV_VAR, "1")
]),
LauncherLocation::RemoteDev => HashMap::from([
(DEBUG_MODE_ENV_VAR, "1"),
("CWM_NO_PASSWORD", "1"),
("CWM_HOST_PASSWORD", "1"),
("REMOTE_DEV_NON_INTERACTIVE", "1"),