rtskuw
Last Updated: February 25, 2016
·
5.654K
· bartlomiejdanek
Bard2

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 and pry-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.

Say Thanks
Respond

1 Response
Add your response

3115
Peak

Cool, one of my coworkers is with using pry remote to work with Pow

over 1 year ago ·