# debugger: Enable manually restarting a session when a DAP server doesn't support restarting \(\#28908\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 78c856cb75d0782ebd1e53d82a1a761b87d0e3af

Requested commit: 78c856cb75d0782ebd1e53d82a1a761b87d0e3af

Commit: 78c856cb75d0782ebd1e53d82a1a761b87d0e3af

Tree: 364d21f2b9cc3242aa6d9f5228c3f0db150110a3

Author: Anthony Eid

Committer: GitHub

## Message

```
debugger: Enable manually restarting a session when a DAP server doesn't support restarting (#28908)

This PR also fixes the unexpected behavior of clicking restart when a
session is terminated and nothing happens.

And we fixed a small bug where `DebugClientAdapter.shutdown()` was never
called.

Release Notes:

- N/A

---------

Co-authored-by: Cole Miller <m@cole-miller.net>
```

## Parents

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

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