I am trying to run node-inspector on amazon AWS. Through a series of different answers on the web and many hours later I have followed these steps:
npm install -g node-inspector
ran "node-inspector" from the aws server
Got Back:
Node Inspector v0.12.5 Visit http://127.0.0.1:8080/?ws=127.0.0.1:8080&port=5858 to start debugging.from my computer ran " ssh -i mypemkey.pem -L username@amazonhost
ran node --debug myapp from the server
Got Back:
Debugger Listening on port 5858The url I expected to work did not but i finally got this
127.0.0.1:5858/?ws=127.0.0.1:5858&port5858To return This
Type:Connect
v8-Version:3.28.71.19
Protocol-Version: 1
Embedding-Host: node v0.12.7
Content-Length: 0
I think I am close. I do not understand how the debugger works exactly. What am I missing here?
Thank You for any insight.