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:
pry-remoteto your Gemfile
Also you can run
pry-remote with extra options, see help.