# Debugger: Add stop on entry support to debug adapter configs \(\#27942\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 0ba8432b0b4b69df110bdfab7289ff699d6e6611

Requested commit: 0ba8432b0b4b69df110bdfab7289ff699d6e6611

Commit: 0ba8432b0b4b69df110bdfab7289ff699d6e6611

Tree: c5807b2bc2876da06b160bf6e6501318053b337e

Author: Anthony Eid

Committer: GitHub

## Message

```
Debugger: Add stop on entry support to debug adapter configs (#27942)

This PR adds passing in `stop_on_entry` to debug configs in debug.json
instead of going through initialization args.

This has two benefits:

1. It's more streamlined to a user since every internal adapter supports
`stop_on_entry` for launch requests and Go's adapter supports it for
attach requests too.
2. It will allow @osiewicz `NewSesssionModal` PR to use this field for
the stop on entry checkbox.

Release Notes:

- N/A
```

## Parents

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

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