microsoft / vscode-js-debug

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

Resolve executables in node_modules/.bin directly #1984

Closed connor4312 closed 7 months ago

connor4312 commented 7 months ago

Historically folks have had to manually do stuff like

            "program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",

Instead we should allow them to specify runtimeExecutable: "mocha" and be good to go.

yawstrap commented 6 months ago

must support runtime template