How to force Chrome's script debugger to reload javascript?

前端 未结 15 1937
天涯浪人
天涯浪人 2020-12-12 09:56

I really like the ability to edit javascript in the chrome debugger however, I find that it can be really problematic getting the debugger to re-fetch the JavaScript from th

15条回答
  •  孤城傲影
    2020-12-12 10:22

    While you are developing your script, try disabling the Chrome cache.

    When you reload the page, the JavaScript should now get refreshed.


    Chrome circa 2011

    Open settings Disable the cache


    Chrome circa 2018

    You can also access it on the network tab:

提交回复
热议问题