From ad4645c59bbcd56a612e59225a56b6e500e018eb Mon Sep 17 00:00:00 2001 From: Cole Miller Date: Thu, 22 May 2025 15:14:05 -0400 Subject: [PATCH] debugger: Fix environment variables not being substituted in debug tasks (#31198) Release Notes: - Debugger Beta: Fixed a bug where environment variables were not substituted in debug tasks in some cases. Co-authored-by: Anthony Eid Co-authored-by: Remco Smits --- crates/debugger_ui/src/session/running.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/debugger_ui/src/session/running.rs b/crates/debugger_ui/src/session/running.rs index 5c6d9e904d..2a2bb942b4 100644 --- a/crates/debugger_ui/src/session/running.rs +++ b/crates/debugger_ui/src/session/running.rs @@ -927,6 +927,7 @@ impl RunningState { .ok_or_else(|| anyhow!("{}: is not a valid adapter name", &adapter)) .map(|adapter| adapter.config_from_zed_format(zed_config))??; config = scenario.config; + Self::substitute_variables_in_config(&mut config, &task_context); } else { anyhow::bail!("No request or build provided"); };