The use of Ajax techniques has led to an increase in interactive or dynamic interfaces on web pages. With Ajax, web applications can retrieve data from the server asynchronously in the background without interfering with the display and behavior of the existing page.
For a developer, It is required to log Ajax request & response to identify errors.
The following video shows how you can debug Ajax application with Firebug extension for Firefox.
Hope! It helps.