# extension/dap: Add resolve_tcp_template function \(\#31010\) · gitcafe/zed

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

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

Visibility: public

Requested revision: e5670ba0813dbda146aff3c6337773460eaecd3d

Requested commit: e5670ba0813dbda146aff3c6337773460eaecd3d

Commit: e5670ba0813dbda146aff3c6337773460eaecd3d

Tree: af5a3fddc3ba927347f071c874e6aae612d5684d

Author: Piotr Osiewicz

Committer: GitHub

## Message

```
extension/dap: Add resolve_tcp_template function (#31010)

Extensions cannot look up available port themselves, hence the new API.
With this I'm able to port our Ruby implementation into an extension.

Release Notes:

- N/A
```

## Parents

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

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