Closed jmuheim closed 10 years ago
Any update on this?
powder applog
is only a wrapper for tail -f log/development.log
. A debug shell will never open in the log, which is why you won't see it there. However, you might try powder debug
. If this doesn't work, I recommend trying the better_errors
gem, which might be a great REPL interface, though not a real debugger.
Thanks for your suggestions. I played around quite extensively with the various possibilities, and decided to use webrick again which offers exactly what I want: output in a terminal which can also be used as interface to pry without having to start a new session or something like that.
I love POW, and I love using it with POWDER. But I really miss a way to use pry in an easy way with it.
When starting Rails simply with
rails s
, I can place abinding.pry
wherever I want, reload, and then do my REPL business right within Webrick's console.But with POW, there doesn't seem to be a REPL capable console output:
powder applog
doesn't halt onbinding.pry
, it simply displays it and goes on.I know that I can work around this by doing
binding.pry_remote
and connect to it usingpry-remote
, but this simply is to tedious.Any idea on how to make POW/POWDER work with a REPL?