Skip to content

Commit

Permalink
Added debugging support during spec runs.
Browse files Browse the repository at this point in the history
  • Loading branch information
myronmarston committed Nov 18, 2009
1 parent a44df3c commit 925b507
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions spec/support/debugging.rb
@@ -0,0 +1,8 @@
# enable debugger
begin
require 'ruby-debug'
Debugger.start
Debugger.settings[:autoeval] = true if Debugger.respond_to?(:settings)
rescue LoadError
# ruby-debug wasn't available so neither can the debugging be
end

0 comments on commit 925b507

Please sign in to comment.