Running ruby debug in rspec?
问题 I'm trying to get Ruby debugger running in one of my specs: describe User do it "should be valid" do debugger User.new.should be_valid end end When I run rspec though, I get: debugger statement ignored, use -d or --debug option to enable debugging I've tried the following: rake spec --debug rake spec --debug --trace rake spec:models --debug bundle exec rspec --debug bundle exec rspec --debug spec/models/ bundle exec rspec --d spec/models/ bundle exec "rspec --debug" spec/models/ bundle exec