taras42 / edison

Intel Edison projects setup tool.
1 stars 2 forks source link

Check if debug is possible. #6

Open taras42 opened 8 years ago

taras42 commented 8 years ago

Find a way to use node-debug or similar. See if it's possible. (Should be via remote)

taras42 commented 8 years ago

So this is possible.

  1. Forward debugger port with ssh: ssh -L 8080:127.0.0.1:8080 username>@<edison_host -N
  2. Run node-debug --cli on edison.
  3. Open in browser: 127.0.0.1:8080/?ws=127.0.0.1:8080&port=5858