I'm trying to setup a new node application server and I'm finding it frustrating to debug on. Previously I have mainly worked on web based applications/ chrome extensions and I could easily execute javascript functions, api's and access variables from chrome dev tools.
I have tried --inspect and --inspect-brk coupled with Visual Studio Code and also mapping to chrome://inspect/#devices but to no avail; to make matters worse my node code is remote. Can anyone provide any pointers?
ssh -L 9221:localhost:9229 [email protected]