Ugurcan Kucukali
Ugurcan Kucukali

Reputation: 101

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

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

Upvotes: 9

Views: 2637

Answers (2)

Ugurcan Kucukali
Ugurcan Kucukali

Reputation: 101

Cause of problem

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

Upvotes: 1

Kendrick Li
Kendrick Li

Reputation: 3151

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.

Upvotes: 15

Related Questions