Browse files

Only start the breakpoint server when included by dispatchers

git-svn-id: 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 1da6aba commit eb952e1e947a76efed95e024acf3002be2dc711e @dhh dhh committed Dec 12, 2004
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/environments/development.rb
@@ -9,4 +9,4 @@
# 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")

0 comments on commit eb952e1

Please sign in to comment.