I'm working with JavaScript and need to refresh the browser a lot. The Execution Context Selector always jumps back to "top".
Is there a line of code that automatically sets the desired file.
Just to be sure, here is a picture of the Execution Context Selector
Sorry, it's not possible for me to embed yet. Longtime lurker, this is the first time I can't find an answer.
You can use debugger; statement in your code devtools will break on this line of code and execution context will be automatically set.
I am writing an extension and it's very tedious constantly changing the frame/context from top to my extension's frame. I found that you can unselect "Selected context only" (via the settings cog in the same header as the context switcher), then filtering by url.
Type url: and scroll through the autocompleted options until you find your extension's context. Persists after refreshes too.

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With