Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…ng the server.
  • Loading branch information...
commit d0a2b849f469469a1b189b4d077a95f35e31d65a 1 parent 33ee0e3
@miloops miloops authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 railties/doc/guides/debugging/debugging_rails_applications.txt
View
5 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.
Something went wrong with that request. Please try again.