Requestly is a chrome extension using which user can redirect an HTTP(S) request. Requestly is available in Chrome Store.
Requestly is built with intention to help web developers debug JS issues on sites running in production environment.
User just needs to create a redirect rule and redirect the JS running in production environment to JS from your local machine.
Now, make changes on your local setup and test it on your site in production.
Other Perks:
Requestly can also be used to keep you away from time killing sites.
Just create a rule to redirect yourself from facebook.com, twitter.com to stackoverflow.com and do some geeky stuff there.
Step1: Download the extension code on your machine
(Using git): git clone https://github.com/blunderboy/requestly.git some_directory_name
(Download ZIP): You can also download the extension in zip format from Requestly Repsitory
Step2: Browse chrome://extensions/
Step3: Select Checkbox for Developer Mode
Step4: Click on Load unpacked extension
Step5: Browse the directory in which extension code is present
Please feel free to drop an email to sachinjain024 [at] gmail [dot] com in case you find any issues.