RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: Debugging x
Better Errors & RailsPanel
Episode #402 – Jan 25, 2013 – 131 comments

Better Errors & RailsPanel

Here we take a look at two tools to aid us in development: Better Errors which makes it easier than ever to debug exceptions, and RailsPanel, a Chrome extension to see Rails requests. (8 minutes)
The Logger (revised)
Episode #56 – Apr 13, 2012 – 63 comments

The Logger (revised)

The log file will show what is going on behind the scenes of a Rails request. Learn how to log messages, add tags, override formatting, and more. (6 minutes)
Debugging Ruby (revised)
Episode #54 – Apr 07, 2012 – 57 comments

Debugging Ruby (revised)

This episode will show you how to debug a rails app using the "debugger" gem: set a breakpoint, inspect variables and change the executed code at runtime. (7 minutes)
Exception Notifications (revised)
Episode #104 – Oct 20, 2011 – 42 comments

Exception Notifications (revised)

Few things are worse than seeing a "Something went wrong" 500 error on your production application. Here I show how to be notified when this happens using exception_notification and mention several other alternatives. (6 minutes)
Testing Exceptions
Episode #187 – Nov 09, 2009 – 55 comments

Testing Exceptions

Sometimes bad code slips into production and triggers a 500 error. Learn how to be notified of this and resolve it through integration tests. (10 minutes)
Exception Notifications
Episode #104 – May 05, 2008 – 43 comments

Exception Notifications

If you're running a production site, it's a good idea to record all exceptions which occur. See how to set up a notification system which does that in this episode. (8 minutes)
Logging Variables
Episode #86 – Dec 30, 2007 – 27 comments

Logging Variables

Have you ever wanted to easily log all variables? Now you can by using some advanced Ruby concepts as shown in this episode. (6 minutes)
The Logger
Episode #56 – Jul 11, 2007 – 32 comments

The Logger

Learn all about the logger in this episode. See how to send messages to the log and how to customize it. (9 minutes)
Debugging with ruby-debug
Episode #54 – Jul 06, 2007 – 51 comments

Debugging with ruby-debug

This episode will show you how to debug a rails app using ruby-debug: set a breakpoint, inspect variables, change the code and more. (8 minutes)
Debugging RJS
Episode #44 – Jun 13, 2007 – 35 comments

Debugging RJS

RJS and AJAX can be difficult to debug. Many times you don't get any error message in the browser. Learn different techniques for solving these tricky problems in this episode. (7 minutes)