So in my javascript I'm making an ajax call to a service on my website. Whoops, something fails. No problem. Here's what I'd do in Firefox:
- Open the firebug console
- Find the failed Ajax call and click the + sign to see more info.
- The response tab has the raw HTML. Who wants to read all that? I click the HTML tab.
- Ah, the nicely formatted HTML returned by Django shows my divide by zero error.
Now here's what I currently do in Chrome:
- Ctrl+Shift+J to open the Developer Tools
- Go to Resources
- Scroll down to the Ajax call and click
- Once again, I see raw HTML. Still don't want to read all that, but since there isn't an HTML tab I copy and paste into a text editor.
- Save html file
- Open html file in browser so I can read the error HTML returned by Django
So on to the question. Is there anyway to view the HTML response from an Ajax call rendered in the browser without having to copy and paste the raw html to a text editor?