RobJShillito
RobJShillito

Reputation: 45

Google chrome Javascript debugger

is it possible to reload the content of the viewport without reloading the whole inspector.

I would like to make some changes to a javascript file in the debugger then reload the page to see the temp changes I have made (on load), before I commit to the file and upload. Where I'm working at the moment there is caching I can't get round so I have to wait a minute or two to see what my changes do on load.

I have found the page I want to work with under source and can save changes, but really need to see some actions that are fired on the loading of the page.

Is this possible?

Thanks

Upvotes: 0

Views: 51

Answers (1)

S4beR
S4beR

Reputation: 1847

you can't do that with chrome debugger tool. each JS resource will reload on page load so you will loose your change.

you can proxy tools like Fiddler which will allow you to load script from your local machine while loading a third party website. You can create a copy on your own machine and then use fiddler to intercept the call for that file and send your local copy instead

Upvotes: 1

Related Questions