npm install --save-dev pry
pry = require 'pry'eval pryit
PRYINPUTCOLOR env variable makes pryjs also color input
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.