From d0a2b849f469469a1b189b4d077a95f35e31d65a Mon Sep 17 00:00:00 2001 From: miloops Date: Wed, 10 Sep 2008 11:34:27 -0300 Subject: Include tip for using ruby-debug in development mode without restarting the server. --- railties/doc/guides/debugging/debugging_rails_applications.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'railties') 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 -- cgit v1.2.3