# debugger: Fix a few issues with JS debugging \(\#32918\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 2f52e2d285988304fe6b241ba0b2b5f5a1795312

Requested commit: 2f52e2d285988304fe6b241ba0b2b5f5a1795312

Commit: 2f52e2d285988304fe6b241ba0b2b5f5a1795312

Tree: e92015a76bc4f55c13969b249500e919124890d0

Author: Cole Miller

Committer: GitHub

## Message

```
debugger: Fix a few issues with JS debugging (#32918)

- Don't assume all located tasks come from our test runnables
- Run tests from the right working directory
- Scope forking behavior customization for jest and vitest more tightly,
to just our test runnables
- Standardize on `$PACKAGE_MANAGER exec -- $TEST_LIBRARY ...` to fix
runnables not working with npm

Release Notes:

- Debugger Beta: Fixed issues with debugging tasks from package.json and
test runnables.
```

## Parents

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

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