# debugger: Debug sessions rerun build tasks by default when restarting \(\#33724\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/0e2e5b8b0df07c210feba3fad4264a6fa031acf1)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 0e2e5b8b0df07c210feba3fad4264a6fa031acf1

Requested commit: 0e2e5b8b0df07c210feba3fad4264a6fa031acf1

Commit: 0e2e5b8b0df07c210feba3fad4264a6fa031acf1

Tree: c8e8d7c45d4dddefaaa75a8e77d31219fd224c1a

Author: Anthony Eid

Committer: GitHub

## Message

```
debugger: Debug sessions rerun build tasks by default when restarting (#33724)

We reworked the debug modal spawning to use the task context from past
debug sessions when spawning a debug scenario based on task inventory
history.

We changed restart session keybinding to rerun session too.

Closes #31369

Release Notes:

- Restarting a debug session now reruns build tasks that are associated
with the session

---------

Co-authored-by: Cole Miller <cole@zed.dev>
```

## Parents

- [6b0668572378378b4173186e28bd594d6e894db7](https://git.cafe/gitcafe/zed/commit/6b0668572378378b4173186e28bd594d6e894db7?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/0e2e5b8b0df07c210feba3fad4264a6fa031acf1?format=markdown)
