Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I prevent Chrome developer tools from closing when the current browser window closes?

I'm trying to use the chrome developer tools to debug an issue I'm having with Twitter oauth.

When the oauth window appears, I open the developer tools to monitor the requests - but as soon as the oauth window closes the developer tools window is also closed. I'd like to be able to keep the developer tools window open so that I can inspect the requests made.

Is this possible?

like image 876
AlistairH Avatar asked Jun 21 '12 10:06

AlistairH


People also ask

How do I stop chrome from closing tabs?

Use the Pin tab option to keep Prevent Close available in Chrome. To make this as painless as possible, I recommend pinning this website to your browser then moving the tab out of the way. To do that open Prevent Close, and then right-click the tab with your mouse.

What is Chrome Dev?

Chrome DevTools is a set of web developer tools built directly into the Google Chrome browser. These tools let you inspect the rendered HTML (DOM) and network activity of your pages. You can use DevTools to troubleshoot ad serving issues.

How do I inspect a popup window in Chrome?

Please press and hold the tiny button for seconds. After that, you will find the another icon (or button) at the same location. Please release your mouse button. You can see a popup window of developer tools.


1 Answers

Not a perfect solution, but you can add breakpoints on the events Window.close and unload by turning on the checkboxes at:

Developer tools -> "Sources" tab -> Event Listener Breakpoints -> Window -> close 

And

Event Listener Breakpoints -> Load -> unload 

Try to mark both and see which one works best for you

like image 69
jfhfhf839 Avatar answered Sep 24 '22 21:09

jfhfhf839