пятница, 5 декабря 2014 г.

Debug ajax requests from local file

Often one has a task of debugging ajax requests from within a file on a local drive.

You cannot do it easily with the browser because of domain policy check, but you can turn it off for Chrome browser.

Start Chrome with the following switch:
Chrome.exe --disable-web-security
 
I could not find the way of how to do it in Firefox.

Now  you can debug ajax requests from within a local file without the need of deploying the file to webserver.