Reputation: 610
I work on embedded devices but am not able to install any software on them (e.g. programs like gdbserver are out). I need to monitor javascript events on those browsers. For example, if we run a web app on the EWB, the device it's on might have a keyboard pop-up. I need a way to see what triggers this event.
I am thinking along the lines of perhaps embedding something into the HTML or javascript that automatically reports any events back to a workstation somewhere.(I already have logs, but they are not live and it's difficult to pinpoint what happens - even beartailing them... wish I could have something like Firebug, but since it's embedded I can't)
Has anyone seen anything along those lines?
Upvotes: 2
Views: 422
Reputation: 2192
To get a debug connection to a web app or page running on a remote device:
ngrok http 1337
and it should report an ip address for the other end of the tunnel, something like def01234.ngrok.io
available via http and https. <script src="https://def01234.ngrok.io/vorlon.js"></script>
. ngrok exposes both http and https - as this is over the public internet I would strongly recommend using a secure connection.If the above test works you are going to want to do two more things:
Upvotes: 1