ruby-debug with Pow -- breakpoints never hit
Posted
by
99miles
on Stack Overflow
See other posts from Stack Overflow
or by 99miles
Published on 2012-01-25T00:45:31Z
Indexed on
2012/09/20
9:38 UTC
Read the original article
Hit count: 450
I'm trying to use ruby-debug with Pow. Rails 3 app.
I have done everything here: https://gist.github.com/1098830
I've restarted the server and machine several times. I can get rdebug to connect:
? rdebug -c
Connected.
but it never stops at the breakpoints.
Any idea what could be going on? I got it to hit a few breakpoints a few hours ago, and not since.
controller
def index
debugger
...
end
Gemfile
gem 'ruby-debug19', :require => 'ruby-debug'
development.rb
EG::Application.configure do
...
require 'ruby-debug'
Debugger.start_remote
Debugger.settings[:autoeval] = true
puts "=> Debugger enabled"
end
© Stack Overflow or respective owner