To elaborate, VSCode debugger is not attaching with NodeJS 23.3.0. There is a ticket https://github.com/microsoft/vscode/issues/235023
I've downgraded to NodeJS v22.12.0 (LTS) and it works. Cheers.