简体   繁体   中英

Chrome Devtools shows outdated js source for frame after reload

have script in a frame:

在此处输入图片说明

now I move "debugger" from line 2207 to 2209, save and reload the frame.

在此处输入图片说明

Chrome debugger stopped on 2209, but shown source code is outdated.

' Disable cache ' on DevTools is checked . Helps only reloading whole page.

How do I get chrome Dev tools to show the js source correctly??

On top right of DevTools, click the "3 dots" menu and select "Settings". There you may wanna check "Disable cache(while DevTools is open)".

Also, on MacOS you can use at any moment (even with DevTools closed)the shortcut "Command + Shift + R" to force a full refresh of the page.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM