Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Web based console - for presentations and workshops
tree: 3a3ba23ce6

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
EventSource.js
MIT-LICENSE.TXT
README.markdown
codecomplete.js
console.css
console.js
favicon.png
index.html
inject.html
inject.js
iphone.css
jsconsole.appcache
link.png
link@2x.png
package.json
phonegap.js
prettify.js
prettify.packed.js
remote-debugging.html
remote.html
remote.js
server.js
startup.png

README.markdown

JS Console

A JavaScript (and CoffeeScript) web console, useful for quick experimentation, debugging, presentations (for live coding) and workshops.

Also available as a native iOS app from the iTunes store

Features

  • Remote device debugging using "listen" command (more info)
  • Resizable font (yep, biggest issue with Firebug in workshops)
  • Autocomplete in WebKit desktop browsers
  • shift + up/down for bigger console
  • Save history (based on session)
  • Add support for loading in a DOM (YQL - I thank you again)
  • Permalink to individual executions

Hosting jsconsole yourself

This requires that you install node.js. Once installed, download this project (or clone it using git) and inside the new jsconsole directory run:

npm install

This will install the dependancies (in particular 1.8.x version of connect.js).

Once installed, run (on port 80):

node server.js

Or to run on a specific port (like 8080):

node server.js 8080

Then check your own ip address of the machine it's running on (using ipconfig for windows or ifconfig for mac and linux). Then on the mobile phone, just visit that IP address and port you're running jsconsole on:

jsconsole running locally

Something went wrong with that request. Please try again.