ZIm/crates/task/src
Anthony Eid a0bfe4d293
debugger: Fix debug scenario's defined in debug.json not using passed in build task (#29973)
There were two bugs that caused user-defined debug scenarios from being
able to run a build task.

1. DebugRequest would be deserialized to `Attach` even when `process_id`
wasn't defined in a user's configuration file. This has been fixed by
adding our own deserializer that defaults to None if there are no fields
present instead of `Attach`, and I added tests to prevent regressions.
2. Debug scenario resolve phase never got the active buffer when
spawning a debug session from the new session modal. This has been
worked around by passing in the worktree_id of a debug scenario in the
scenario picker and the active worktree_id otherwise.

Release Notes:

- N/A
2025-05-06 08:54:57 +02:00
..
debug_format.rs debugger: Fix debug scenario's defined in debug.json not using passed in build task (#29973) 2025-05-06 08:54:57 +02:00
lib.rs debugger: Run build in terminal (#29645) 2025-05-05 20:08:14 +00:00
serde_helpers.rs tasks: Add spawn option by tag (#25650) 2025-04-04 14:20:09 +00:00
static_source.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
task_template.rs debugger: Run build in terminal (#29645) 2025-05-05 20:08:14 +00:00
vscode_debug_format.rs debugger/tasks: Remove TaskType enum (#29208) 2025-04-26 01:44:56 +02:00
vscode_format.rs Implement basic support for VS Code debug configurations (#29160) 2025-04-22 14:24:09 +00:00