diff options
author | Aditya Sanghi <asanghi@me.com> | 2010-10-17 02:09:47 +0530 |
---|---|---|
committer | Aditya Sanghi <asanghi@me.com> | 2010-10-17 02:09:47 +0530 |
commit | 5a36f9f89d7ea58c36b486411fc887f9fe6dfc63 (patch) | |
tree | d89eece0f72931a5c1c92d46e31916ef7b85618b /railties/guides/source/debugging_rails_applications.textile | |
parent | 40398a1f47e4fd83c4b5c4346c8ba9685bb0bd2d (diff) | |
parent | a38e653a6d512de3d22137cebc239d51f2513502 (diff) | |
download | rails-5a36f9f89d7ea58c36b486411fc887f9fe6dfc63.tar.gz rails-5a36f9f89d7ea58c36b486411fc887f9fe6dfc63.tar.bz2 rails-5a36f9f89d7ea58c36b486411fc887f9fe6dfc63.zip |
Merge branch 'master' of github.com:lifo/docrails
Diffstat (limited to 'railties/guides/source/debugging_rails_applications.textile')
-rw-r--r-- | railties/guides/source/debugging_rails_applications.textile | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/railties/guides/source/debugging_rails_applications.textile b/railties/guides/source/debugging_rails_applications.textile index 35069f33ad..b9d45fb13a 100644 --- a/railties/guides/source/debugging_rails_applications.textile +++ b/railties/guides/source/debugging_rails_applications.textile @@ -250,7 +250,7 @@ Make sure you have started your web server with the option +--debugger+: <shell> ~/PathTo/rails_project$ rails server --debugger -=> Booting Mongrel (use 'rails server webrick' to force WEBrick) +=> Booting WEBrick => Rails 3.0.0 application starting on http://0.0.0.0:3000 => Debugger enabled ... @@ -258,8 +258,6 @@ Make sure you have started your web server with the option +--debugger+: TIP: In development mode, you can dynamically +require \'ruby-debug\'+ instead of restarting the server, if 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. - h4. The Shell As soon as your application calls the +debugger+ method, the debugger will be started in a debugger shell inside the terminal window where you launched your application server, and you will be placed at ruby-debug's prompt +(rdb:n)+. The _n_ is the thread number. The prompt will also show you the next line of code that is waiting to run. |