Added support for ruby-debug to replace breakpointers.
[selectricity] / config / environments / development.rb
index 0589aa979e30b065d7cd758e71246203c2024516..12a3e04e5fb70df7ae8d679999e2ee76cd50fe20 100644 (file)
@@ -19,3 +19,8 @@ config.action_view.debug_rjs                         = true
 
 # Don't care if the mailer can't send
 config.action_mailer.raise_delivery_errors = false
+
+# start the debugger
+require 'ruby-debug'
+SCRIPT_LINES__ = {}
+Debugger.start

Benjamin Mako Hill || Want to submit a patch?