# debugger: Improve logging of debug sessions \(\#32718\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 6650be8e0ff35e2e9c0f15764e1b192f943f97a7

Requested commit: 6650be8e0ff35e2e9c0f15764e1b192f943f97a7

Commit: 6650be8e0ff35e2e9c0f15764e1b192f943f97a7

Tree: 713386481babf16817358e76d680aea9d710093a

Author: Anthony Eid

Committer: GitHub

## Message

```
debugger: Improve logging of debug sessions (#32718)

This PR fixes a common issue where a debug session won't start up and
user's weren't able to get any logs from the debug session. We now do
these three things

1. We know store a history of debug sessions
2. We added a new option to only look at the initialization sequence 
3. We default to selecting a session in dap log view in stead of none

Release Notes:

- debugger: Add history to debug session logging

---------

Co-authored-by: Cole Miller <cole@zed.dev>
Co-authored-by: Remco Smits <djsmits12@gmail.com>
```

## Parents

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

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