debugger: Update New Session Modal (#30018)
This PR simplifies the new session modal by flattening its three modes and updating the UI to be less noisy. The new UI also defaults to the Debug Scenario Picker, and allows users to save debug scenarios created in the UI to the active worktree's .zed/debug.json file. Release Notes: - N/A
This commit is contained in:
@@ -216,9 +216,9 @@ pub fn tasks_file() -> &'static PathBuf {
|
||||
}
|
||||
|
||||
/// Returns the path to the `debug.json` file.
|
||||
pub fn debug_tasks_file() -> &'static PathBuf {
|
||||
static DEBUG_TASKS_FILE: OnceLock<PathBuf> = OnceLock::new();
|
||||
DEBUG_TASKS_FILE.get_or_init(|| config_dir().join("debug.json"))
|
||||
pub fn debug_scenarios_file() -> &'static PathBuf {
|
||||
static DEBUG_SCENARIOS_FILE: OnceLock<PathBuf> = OnceLock::new();
|
||||
DEBUG_SCENARIOS_FILE.get_or_init(|| config_dir().join("debug.json"))
|
||||
}
|
||||
|
||||
/// Returns the path to the extensions directory.
|
||||
|
||||
Reference in New Issue
Block a user