I can't seem to remote debug a node.js app running on a linux server. I am using typescript and I am only putting the generated .js file on the server. I use the RemoteDebug.js script to start my app.
In the Attach To Process menu:
I select my server:port as a qualifier and hit refresh, it show the process to attach to
On the linux side it show a remoteServerSocket connection followed by a remoteServerSocket disconnection
On windows, I attach to the procress and it seems to work showing me the debug layout (and the "running" next to the app name"
On Linux it show a new remoteServerSocket connection
At this point if I put a breakpoint in a .ts file nothing happen, the breakpoint is never hit. If I try to put it on a ,js file it put it on a different line then where I clicked but still does not hit it.
I am using the latest version of NodeJS (Dec 19, 2014, Beta). I tried putting the .ts and .map file on the server in case it was needed but same problem (I don't think they should be needed).
In the Attach To Process menu:
I select my server:port as a qualifier and hit refresh, it show the process to attach to
On the linux side it show a remoteServerSocket connection followed by a remoteServerSocket disconnection
On windows, I attach to the procress and it seems to work showing me the debug layout (and the "running" next to the app name"
On Linux it show a new remoteServerSocket connection
At this point if I put a breakpoint in a .ts file nothing happen, the breakpoint is never hit. If I try to put it on a ,js file it put it on a different line then where I clicked but still does not hit it.
I am using the latest version of NodeJS (Dec 19, 2014, Beta). I tried putting the .ts and .map file on the server in case it was needed but same problem (I don't think they should be needed).