aboutsummaryrefslogtreecommitdiffstats
path: root/railties/doc
diff options
context:
space:
mode:
authormiloops <miloops@gmail.com>2008-09-10 11:34:27 -0300
committermiloops <miloops@gmail.com>2008-09-10 11:34:27 -0300
commitd0a2b849f469469a1b189b4d077a95f35e31d65a (patch)
tree9b5b3afbcf4c752e65bf4469078c16b8c68e65f5 /railties/doc
parent33ee0e3e2d6185e5bd5019e0d806afb808c37611 (diff)
downloadrails-d0a2b849f469469a1b189b4d077a95f35e31d65a.tar.gz
rails-d0a2b849f469469a1b189b4d077a95f35e31d65a.tar.bz2
rails-d0a2b849f469469a1b189b4d077a95f35e31d65a.zip
Include tip for using ruby-debug in development mode without restarting the server.
Diffstat (limited to 'railties/doc')
-rw-r--r--railties/doc/guides/debugging/debugging_rails_applications.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/railties/doc/guides/debugging/debugging_rails_applications.txt b/railties/doc/guides/debugging/debugging_rails_applications.txt
index b00a7f4328..3a5f9d3e7e 100644
--- a/railties/doc/guides/debugging/debugging_rails_applications.txt
+++ b/railties/doc/guides/debugging/debugging_rails_applications.txt
@@ -231,6 +231,11 @@ Make sure you have started your web server with the option --debugger:
~/PathTo/rails_project$ script/server --debugger
----------------------------------------------------------------------------
+[TIP]
+----------------------------------------------------------------------------
+In development mode, you can dynamically *require 'ruby-debug'* instead of restarting the server, in case it was started without --debugger.
+----------------------------------------------------------------------------
+
In order to use Rails debugging you'll need to be running either *WEBrick* or *Mongrel*. For the moment, no alternative servers are supported.
=== The shell