# Add quick "Edit debug.json" button to debugger control strip \(\#38600\) · gitcafe/zed

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

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

Visibility: public

Requested revision: b97843ea02994f029db9cf740fae89ead4417c55

Requested commit: b97843ea02994f029db9cf740fae89ead4417c55

Commit: b97843ea02994f029db9cf740fae89ead4417c55

Tree: f2d35070e64c228672f238804fb5b65eb0cb9142

Author: Ilija Tovilo

Committer: GitHub

## Message

```
Add quick "Edit debug.json" button to debugger control strip (#38600)

This button already exists in the main menu, as well as the "New
Session" view in the debugger panel. However, this view disappears after
starting the debugging session. This PR adds the same button to the
debugger control strip that remains accessible. This is convenient for
people editing their debug.json frequently.

Site-node: I feel like the `Cog` icon would be more appropriate, but I
picked `Code` to stay consistent with the "New Session" view.

Before:

<img width="194" height="118" alt="image"
src="https://github.com/user-attachments/assets/5b42a8a4-f48f-4145-a425-53365dd785ca"
/>

After:

<img width="194" height="118" alt="image"
src="https://github.com/user-attachments/assets/12f56ea1-150b-4564-8e6a-da4671f52079"
/>

Release Notes:

- Added "Edit debug.json" button to debugger control strip
```

## Parents

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

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