# debugger: Fix issues with debugging scripts from package.json \(\#32995\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 0b228ad12cc5a864fe6c3bed51510821ff8181da

Requested commit: 0b228ad12cc5a864fe6c3bed51510821ff8181da

Commit: 0b228ad12cc5a864fe6c3bed51510821ff8181da

Tree: 636e4357b11775dadb3758976f7bb3a715963f35

Author: Cole Miller

Committer: GitHub

## Message

```
debugger: Fix issues with debugging scripts from package.json (#32995)

- [x] Pass in cwd
- [x] Use the appropriate package manager
- [x] Don't mix up package.json and composer.json

Release Notes:

- debugger: Fixed wrong arguments being passed to the DAP when debugging
scripts from package.json.
```

## Parents

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

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