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 UI/UX Design

UI/UX Design by makandra brand

We make sure that your target audience has the best possible experience with your digital product. You get:

  • Design tailored to your audience
  • Proven processes customized to your needs
  • An expert team of experienced designers
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)