about summary refs log tree commit homepage
path: root/test/testhelp.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/testhelp.rb')
-rw-r--r--test/testhelp.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/testhelp.rb b/test/testhelp.rb
index 78956a9..9bf719f 100644
--- a/test/testhelp.rb
+++ b/test/testhelp.rb
@@ -4,6 +4,11 @@
 # Additional work donated by contributors.  See http://mongrel.rubyforge.org/attributions.html
 # for more information.
 
+if ENV['DEBUG']
+  require 'ruby-debug'
+  Debugger.start
+end
+
 def redirect_test_io
   orig_err = STDERR.dup
   orig_out = STDOUT.dup