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.
2f52e2d285Cole Miller committed on 6/18/2025, 2:37:09 PM· committed by GitHubparent3e8a07f
2 files changedLine totals unavailable