Mon-Ouie / pry-remote

Connect to Pry remotely
Other
639 stars 81 forks source link

Keep pry-remote running and waiting for another connection? #47

Closed jmuheim closed 10 years ago

jmuheim commented 10 years ago

I'm trying to integrate POW into my daily working process. The only thing I don't like about it is the fact that I have to manually connect to my pry'd website whenever I set a breakpoint.

It would be very convenient to have one pry-remote process running that's waiting for "incoming sessions" and connect to them. So I don't have to type pry-remote again and again.

Is this possible somehow?

jmuheim commented 10 years ago

For everybody who didn't know it already: pry-remote-auto automatically opens a terminal whenever you place a binding.pry_remote in your code. Doesn't solve this issue, but offers a nice workaround.

Mon-Ouie commented 10 years ago

Hey,

This sounds like a good idea. I'm having trouble getting DRb to give me a different object if I try and connect twice to the service in the same process though — I'm not sure why.

(Here's a snippet that triggers the issue: https://gist.github.com/Mon-Ouie/9515174)

Mon-Ouie commented 10 years ago

A work around has been merge, you can now use the --persist command line argument.