# Tidy up DAP initialization \(\#28730\) · gitcafe/zed

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

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

Visibility: public

Requested revision: aef78dcffdc047cbae8c79d720e2a8a60b00bd09

Requested commit: aef78dcffdc047cbae8c79d720e2a8a60b00bd09

Commit: aef78dcffdc047cbae8c79d720e2a8a60b00bd09

Tree: 6c584506f55f05f9df6936ae17512f57dd9d483a

Author: Conrad Irwin

Committer: GitHub

## Message

```
Tidy up DAP initialization (#28730)

To make DAP work over SSH we want to create the binary
at the project level (so we can wrap it in an `ssh` invocation
transparently).

This means not pushing the adapter down into the session, and resolving
more information ahead-of-time.

Co-authored-by: Anthony Eid <hello@anthonyeid.me>
Co-authored-by: Piotr <piotr@zed.dev>

Release Notes:

- N/A

---------

Co-authored-by: Anthony Eid <hello@anthonyeid.me>
Co-authored-by: Piotr <piotr@zed.dev>
Co-authored-by: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com>
Co-authored-by: Anthony <anthony@zed.dev>
```

## Parents

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

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