Permalink
Browse files

Include tip for using ruby-debug in development mode without restarti…

…ng the server.
  • Loading branch information...
1 parent 33ee0e3 commit d0a2b849f469469a1b189b4d077a95f35e31d65a @miloops miloops committed Sep 10, 2008
Showing with 5 additions and 0 deletions.
  1. +5 −0 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

0 comments on commit d0a2b84

Please sign in to comment.