guard / guard-spork

Guard::Spork automatically manage Spork DRb servers
https://rubygems.org/gems/guard-spork
MIT License
296 stars 58 forks source link

Include debugging instructions in readme. #40

Closed gavinhughes closed 11 years ago

gavinhughes commented 12 years ago

guard-spork in a vanilla config doesn't appear to support ruby-debug. How do you get debug functionality back? If it's a basic solution, this should be in the read me.

thibaudgg commented 12 years ago

You're right, I let you find the solution in existing (and closed) issues (https://github.com/guard/guard-spork/issues/search?q=ruby-debug) and it would be great if you can submit a pull request with an updated README. Thanks a lot!

gavinhughes commented 12 years ago

I dug around for about 5 hours trying to get this to work. Still no luck. The best I can tell is that this fork (https://github.com/irohiroki/guard-spork) is known to do the trick, but it's not had a commit in several months. If you can provide a link to specific solution, I'll be happy to update the readme.

gavinhughes commented 12 years ago

Ugh. So simple. Just require 'ruby-debug' in env.rb and add Debugger.start.

gavinhughes commented 12 years ago

I must be short of caffeine this morning. This isn't the fix; it's not even the issue. Still looking for a solution to get spork to break execution of an app under guard.

thibaudgg commented 12 years ago

Still no idea about how to fix that?

gavinhughes commented 12 years ago

No, but I haven't looked at this in a while...

thibaudgg commented 11 years ago

Please reopen if you want.