fix(debug): shortened js-debug install hint to the repo download

- Runtime error now just says to download vscode-js-debug from its GitHub repo;
  tarball recipe, extract path, env var, and Mason detail stay in docs/tools/debug.md.
This commit is contained in:
can1357
2026-08-07 14:50:17 +02:00
parent 215040966e
commit 39477ba39b
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -505,7 +505,7 @@ const ADAPTER_UNAVAILABLE_MESSAGES: Readonly<Record<string, string>> = {
dlv: "adapter 'dlv' is not available: install with 'go install github.com/go-delve/delve/cmd/dlv@latest'",
rdbg: "adapter 'rdbg' is not available: install with 'gem install debug'",
"js-debug-adapter":
"adapter 'js-debug-adapter' is not available: vscode-js-debug is not an npm package — install via Mason (`:MasonInstall js-debug-adapter`), extract the release tarball (https://github.com/microsoft/vscode-js-debug/releases) under ~/.local/opt, or set JS_DEBUG_DAP_SERVER to dapDebugServer.js",
"adapter 'js-debug-adapter' is not available: download it from https://github.com/microsoft/vscode-js-debug",
};
const ADAPTER_CANONICAL_COMMANDS: Readonly<Record<string, string>> = {