jsconsole.com is a simple JavaScript command line tool. However, it also provides the ability to bridge across to other browser windows to remotely control and debug that window – be it in another browser or another device altogether.
Remote debugging is really simple:
- Invoke a
:listen
command at jsconsole.com to get a listener id returned - Include
http://jsconsole.com/remote.js?listenerid
in the page you want to debug - there is no step 3
Once included jsconsole.com will catch all console.log
s from the page. Above that it will execute any command entered at jsconsole.com in the scope of the page that has remote.js
included.
Here’s a little demo video:
Some how it doesn’t seem to work for me. I get some weird errors from the remote.js file.
Works for me on Android. Thanks a lot!