Home > Net >  DevTools is switching to the Sources tab automatically whenever a page is refreshed
DevTools is switching to the Sources tab automatically whenever a page is refreshed

Time:08-17

Whenever I use the DevTools, if the web page is refreshed, DevTools switches to the Sources tab and opens every script.

CodePudding user response:

There's a feature called "Focus Sources panel when triggering a breakpoint" in Devtools. You can find it in devtools Settings --> Preferences --> Sources. This feature is enabled by default.enter image description here

So if you have any breakpoint triggered, everytime you refresh the page, the devtools will be switched to Sources panel.

CodePudding user response:

Cause of problem

I found cause of my problem. I activated JS debugger which is why this action occurred.

  • Related