# debugger: Support passing custom arguments to debug adapters \(\#33251\) · gitcafe/zed

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

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

Visibility: public

Requested revision: c9bd4097328531db5d9be75f306bb79e1d4be6b6

Requested commit: c9bd4097328531db5d9be75f306bb79e1d4be6b6

Commit: c9bd4097328531db5d9be75f306bb79e1d4be6b6

Tree: d87ca1872497e3f78d22487c712e2ef667467344

Author: Cole Miller

Committer: GitHub

## Message

```
debugger: Support passing custom arguments to debug adapters (#33251)

Custom arguments replace any arguments that we normally pass to the DAP.
For interpreted languages, they are passed to the interpreter after the
DAP path or module. They can be combined with a custom binary, or you
can omit `dap.binary` and just customize the arguments to the DAPs we
download.

This doesn't take care of updating the extension API to support custom
arguments.

Release Notes:

- debugger: Implemented support for passing custom arguments to a debug
adapter binary using the `dap.args` setting.
- debugger: Fixed not being able to use the `dap` setting in
`.zed/settings.json`.
```

## Parents

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

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