aboutsummaryrefslogtreecommitdiffstats
path: root/railties/environments
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2004-12-09 17:20:00 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2004-12-09 17:20:00 +0000
commitbf0e37b3cf8288779d63e67459bc261b13a13ca3 (patch)
tree7e7a160db3fe521b892060e8a85ece2e30b04f16 /railties/environments
parent3236e15cb7a00f00e119ff8dd9cde36cb6d3d180 (diff)
downloadrails-bf0e37b3cf8288779d63e67459bc261b13a13ca3.tar.gz
rails-bf0e37b3cf8288779d63e67459bc261b13a13ca3.tar.bz2
rails-bf0e37b3cf8288779d63e67459bc261b13a13ca3.zip
Added preliminary remote breakpoint support
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@102 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/environments')
-rw-r--r--railties/environments/development.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/railties/environments/development.rb b/railties/environments/development.rb
index b2119a9700..ab4d3b9979 100644
--- a/railties/environments/development.rb
+++ b/railties/environments/development.rb
@@ -1,3 +1,12 @@
ActionController::Base.consider_all_requests_local = true
ActionController::Base.reload_dependencies = true
ActiveRecord::Base.reload_associations = true
+
+require 'breakpoint'
+require 'irb/completion'
+# Change the port (default: 42531) here in case you are
+# on shared hosting. Note that you should set up a SSH
+# tunnel when you want to connect from a different
+# computer over the internet. See the documentation of
+# Breakpoint.activate_drb for how to do that.
+Breakpoint.activate_drb('druby://localhost:42531') \ No newline at end of file