Skip to content

binding.pry for JavaScript, for the Ruby devs who can't shake the habit.

Notifications You must be signed in to change notification settings

alexmacarthur/binding-pry-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

binding-pry-js

Use binding.pry in your JavaScript. Literally just a wrapper for debugger. For those who've been writing a lot of Ruby and can't seem to shake the habit.

Installation

npm install binding-pry-js

Usage

Import the script in your code (or load via CDN) and call binding.pry. A debugger statement will be triggered and you, a Ruby dev, won't feel as stupid as you otherwise would.

import 'binding-pry-js';

binding.pry

// or...

binding.irb

About

binding.pry for JavaScript, for the Ruby devs who can't shake the habit.

Resources

Stars

Watchers

Forks

Packages

No packages published