Read more

Debugging AJAX requests with better_errors

Thomas Klemm
April 24, 2014Software engineer

better_errors Show archive.org snapshot is an awesome gem for enhanced error pages in development, featuring a live-REPL for some light debugging.

Illustration online protection

Rails professionals since 2007

Our laser focus on a single technology has made us a leader in this space. Need help?

  • We build a solid first version of your product
  • We train your development team
  • We rescue your project in trouble
Read more Show archive.org snapshot

To debug the exception you got on an AJAX-Request, visit /__better_errors on your app's root path (e.g. http://localhost:3000/__better_errors). It shows the error page for the last exception that occurred, even when it has been triggered by an AJAX request.

Posted by Thomas Klemm to makandra dev (2014-04-24 17:59)