ZIm/crates/dap_adapters
Cole Miller 1083c0ac53
debugger: Special-case npm et al. as program field for JS debug definitions (#32549)
Send `runtimeExecutable` and `runtimeArgs` instead of `program` and
`args` to avoid the DAP implicitly wrapping the command in `node`.

This means that putting `pnpm vitest <file>` as the command in the
launch modal will work, as will this in debug.json:

```
[
  {
    "adapter": "JavaScript",
    "type": "pwa-node",
    "label": "Label",
    "request": "launch",
    "program": "pnpm",
    "args": ["vitest", "<file>"],
    "cwd": "/Users/name/project"
  }
]
```


Release Notes:

- Debugger Beta: made it possible to use commands like `pnpm
<subcommand> <args>` in the launch modal and debug.json
2025-06-11 23:28:45 +00:00
..
src debugger: Special-case npm et al. as program field for JS debug definitions (#32549) 2025-06-11 23:28:45 +00:00
Cargo.toml Fix ruby debugger (#32407) 2025-06-09 16:11:24 -06:00
LICENSE-GPL Debugger implementation (#13433) 2025-03-18 12:55:25 -04:00