Last Updated: May 15, 2019
·
6.959K
· bartlomiejdanek

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.

1 Response
Add your response

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

over 1 year ago ·