Create Break Points in Rails with Passenger Phusion, Pry, Pry Remote
It's the answer for another protip.
I'm usually use passenger standalone when I'm developing rails apps, but there binding.pry
doesn't work, because rails app is behind nginx http server.
What you need:
- Add
pry
andpry-remote
to your Gemfile - Run
bundle install
- Put
binding.pry_remote
- Run
pry-remote
Also you can run pry-remote
with extra options, see help.
Written by Bartłomiej Danek
Related protips
1 Response
Cool, one of my coworkers is with using pry remote to work with Pow
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#