Only start the breakpoint server when included by dispatchers

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@128 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
David Heinemeier Hansson
2004-12-12 17:22:35 +00:00
parent 1da6abaa3c
commit eb952e1e94

View File

@@ -9,4 +9,4 @@ require 'irb/completion'
# 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', nil)
Breakpoint.activate_drb('druby://localhost:42531', nil) if $0.include?("dispatch")