guard / guard-spork

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

what happens with ruby-debug ? #38

Closed thenrio closed 12 years ago

thenrio commented 12 years ago

Hello good job for this one!

I was used to have a term per spork server, and a separate one for guard

ruby-debug

when I require 'ruby-debug'; debugger, I notice the guard's term becomes useless (the "spawned" spork process is stopped and user has no tty to it)

This might be confuse user, has guard looks "frozen"

debug

require 'debug' is an option that fits well with guard-spork, and it will drop command prompt in guard's term

WDYT about a section for these behaviors in README ?

thibaudgg commented 12 years ago

Hi,

Please can you give your Guardfile & Gemfile, and also give each command line that you enter. I'm not sure to understand your problem well. Thanks

thenrio commented 12 years ago

I'm happy that this issue is not an issue

My "problem" was that I was not seeing ruby-debug cli whereas I was expecting it So I tried to reproduce this problem on a scratch project, and I saw debugger cli each time I expected it

At least, I learned that on the project in which cli was not showing up, cause was bad Guardfile, cause source file not being reloaded in spork) Dunno why I had impression it has something to do with ruby-debug ...

Sorry for report

thibaudgg commented 12 years ago

Ok, I'm glad you have found a way to handle that :)