diff options
author | miloops <miloops@gmail.com> | 2008-09-10 11:34:27 -0300 |
---|---|---|
committer | miloops <miloops@gmail.com> | 2008-09-10 11:34:27 -0300 |
commit | d0a2b849f469469a1b189b4d077a95f35e31d65a (patch) | |
tree | 9b5b3afbcf4c752e65bf4469078c16b8c68e65f5 /railties/doc/guides/debugging | |
parent | 33ee0e3e2d6185e5bd5019e0d806afb808c37611 (diff) | |
download | rails-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/guides/debugging')
-rw-r--r-- | railties/doc/guides/debugging/debugging_rails_applications.txt | 5 |
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 |