microsoft / vscode-js-debug

A DAP-compatible JavaScript debugger. Used in VS Code, VS, + more
MIT License
1.67k stars 279 forks source link

Support new `runtimeExecutable: "mocha"` in launch template #1997

Closed andreamah closed 1 month ago

andreamah commented 5 months ago

When testing https://github.com/microsoft/vscode-js-debug/issues/1984, I found that the Add Configuration in launch.json still adds mocha using "program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",

  1. Open launch.json.
  2. Add Configuration
  3. Node.js: Mocha Tests
  4. See "program": "${workspaceFolder}/node_modules/mocha/bin/_mocha", instead of the new runtimeExecutable: "mocha" :bug: