jsconsole.com – JavaScript Command Line Tool and Remote Debugger

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:

  1. Invoke a :listen command at jsconsole.com to get a listener id returned
  2. Include http://jsconsole.com/remote.js?listenerid in the page you want to debug
  3. there is no step 3

Once included jsconsole.com will catch all console.logs 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:

jsconsole.com →

Published by Bramus!

Bramus is a frontend web developer from Belgium, working as a Chrome Developer Relations Engineer at Google. From the moment he discovered view-source at the age of 14 (way back in 1997), he fell in love with the web and has been tinkering with it ever since (more …)

Join the Conversation

3 Comments

  1. Some how it doesn’t seem to work for me. I get some weird errors from the remote.js file.

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.