/pry-example

A walkthrough of the pry.js node repl/debugger.

Primary LanguageCoffeeScript

Pry.js Examples

logo

There is a slideshow associated with this talk.

REPL

REPL stands for: read, eval, print and loop.

Alternatives

JavaScript debugger link

This does not support server side debugging.

Node Debugger link

This does not stop the execution of your code, and gives no help in finding out where you are, or what you can do.

Node Inspector link

Amazing in-browser debugging of your code. It does not work well when you have transcompilers like coffeescript, 6to5 or typescript.

Running

node src/example.js

or

coffee src/example.coffee

Adding Pry

npm install --save-dev pryjs