A interactive repl for node, inspired by pry.
npm install --save pry
Throw this beautiful snippet in the middle of your code:
pry = require 'pry'eval pryit
PRYINPUTCOLOR env variable makes pryjs also color typed coffeescript (not only output)
While you are in the prompt there are a few things you might want to do:
whereamiwill show you exactly where you are in the code. Accepts two integers to replace the default 5 before and 5 after.
stopwill exit the pryjs prompt and continue through the app.
killcompletely stop the script.
wtfdisplay the last caught exception.
versiondisplay the current version.
helpdisplay all the available commands.
playplay lines of code as if you had entered them. Accepts two integers: start and end. End defaults to start.
Examples can be found in the examples directory.