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 money motivation

Opscomplete powered by makandra brand

Save money by migrating from AWS to our fully managed hosting in Germany.

  • Trusted by over 100 customers
  • Ready to use with Ruby, Node.js, PHP
  • Proactive management by operations experts
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)