Tuesday, October 23, 2012

Web Proxy Debugger for javascript css and other files

So when you are writing javascript, ecmascript, css, html, etc or other web files, and dealing with Sharepoint 2010 (or pure custom .net or php or java, or any platform really), you get into this cycle (at least with SP 2010) of making a quick change to the .js file and then having to upload it to the server (SP server /SiteAssets/ folder for example) and then check it in, and then hit F5 to reload your page and then retest only to see you made a dumb typo or set an alert which you then have to remove and repeat the process. BORING, and TIME CONSUMING. Instead try Fiddler2 a cool local web proxy, that allows instant changes to your css html or other files such as .js and a simple F5 to reload the page in question to test those changes. Here is how to use it: Fiddler – web, Javascript and css debugger for windows Start the browser on the page Start Fiddler Reload browser find the file you want in fiddler on the left, drag it to the autoresponder (check enable automatic and unmatched request passthrough) click bottom arrows dropdown in fiddler right side and find the js file or css file you just dragged and dropped. http://www.fiddler2.com/fiddler2/

No comments: