binding.pry is too much to type. This gem enables you to create alias for binding.pry.
MIT License
binding.pry
is too long to type. This gem enables you to create
alias for binding.pry
.
Add this line to your application's Gemfile:
gem 'pry-alias'
And then execute:
$ bundle
Or install it yourself as:
$ gem install pry-alias
By default, bp
is the alias for binding.pry
.
If you want to change this behavior, please set environment variable
ALIAS_FOR_BINDING_PRY
to whatever you want.
export ALIAS_FOR_BINDING_PRY=debugger