Debugging Rails: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
(Created page with "You can use rdebug for debugging Expertiza. The gem is already installed for you when you run <code>bundle install</code>.<br /> To start debugging, you can run <code>rdebug scri...")
 
No edit summary
Line 1: Line 1:
== Getting Started ==
You can use rdebug for debugging Expertiza. The gem is already installed for you when you run <code>bundle install</code>.<br />
You can use rdebug for debugging Expertiza. The gem is already installed for you when you run <code>bundle install</code>.<br />
To start debugging, you can run <code>rdebug script/server</code> from the Expertiza working directory.
To start debugging, you can run <code>rdebug script/server</code> from the Expertiza working directory.
=== Using Rdebug ===
You can ask rdebug for help by typing <code>help</code> in the rdb console.
<pre>
(rdb:1) help
</pre>


== Sources ==
== Sources ==
* http://guides.rubyonrails.org/debugging_rails_applications.html
* http://guides.rubyonrails.org/debugging_rails_applications.html
* http://pivotallabs.com/ruby-debug-in-30-seconds-we-don-t-need-no-stinkin-gui
* http://pivotallabs.com/ruby-debug-in-30-seconds-we-don-t-need-no-stinkin-gui

Revision as of 16:06, 21 April 2013

Getting Started

You can use rdebug for debugging Expertiza. The gem is already installed for you when you run bundle install.
To start debugging, you can run rdebug script/server from the Expertiza working directory.

Using Rdebug

You can ask rdebug for help by typing help in the rdb console.

(rdb:1) help

Sources