This keeps our npm logic in one place and avoids activating the heavier-
weight `js-debug` extension on every .json file.
Also, use the same command to debug both from the explorer and
from script lens.
Fixes https://github.com/microsoft/vscode-js-debug/issues/782
Detects the preferred package manager
and if multiple are present, warns and uses
in priority order: npm => yarn => pnpm
Fixes#102050
Co-authored-by: Alex Ross <alros@microsoft.com>
Detects the preferred package manager
and if multiple are present, warns and uses
in priority order: npm => yarn => pnpm
Fixes#102050
Co-authored-by: Alex Ross <alros@microsoft.com>