If you have to do Remote NodeJS debugging on your Raspberry Pi that little tutorial will help

https://dev.to/attilavm/inspect-your-node-application-on-a-different-machine-3laf