Actually, whatever node scripts I run opens the debugger, this is weird.
In your workspace settings or remote settings you can set
This is https://github.com/microsoft/vscode/issues/106983. Auto-attach should not be defaulted “on”, but in the near term you can disable with the this setting.
It’s really frustrating that this is on by default.