Bogdan Gusiev's blog

How to make good software for people

How many clicks do you need to debug ajax request?
16 Jun 2012

Here I am gonna use Chrome browser as an example:

  1. Open context menu
  2. Click inspect element.
  3. Click “Network” tab
  4. Spawn again an ajax request (at least one click. Sometimes more)
  5. Click on failed request at Network tab
  6. Click “Preview” or “Response” subtab


Why we can not automate this daily routine work?

With this tiny script you don’t need any: Error response will be displayed in Popup at once after it occur.

javascript debug ajax efficiency