Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Chrome Dev Tools is it possible to keep open even after window closes?

I need to see the network traffic for a particular site of which I have no control. The problem is that the site at one point triggers a pop-up which automatically closes when a particular upload event is completed.

The HTTP requests I need to see, are only triggered at the moment of close which is when the upload completes. As soon as the window closes, so does the Dev Tools window.

Is there any way to force it to stay open? What about IE and Firefox?

Other tools that are not browser specific are not giving me the data I need. I know Chrome will - if only it hung around long enough for me to see it.

like image 644
user2029890 Avatar asked Jan 12 '14 15:01

user2029890


People also ask

How do I make Chrome developer tools open by default?

In Chrome, pressing the F12 key or Ctrl + Shift + I (or Command + option + I on a Mac) also brings up the interactive developer tools.

How do I open developer tools automatically?

On opening the developer tools, with the developer tools window in focus, press F1 . This will open a settings page. Check the "Auto-open DevTools for popups". This worked for me.


2 Answers

You could set an window close event breakpoint. This way the debugger stops the window (popup) from closing.

devtools -> scripts (or sources) -> event listener breakpoints -> Window -> close

enter image description here

Link to Chromium rfc

like image 61
R. Oosterholt Avatar answered Nov 07 '22 06:11

R. Oosterholt


I use this chrome extension. It has a URL sniffer, which you can open in any window and it'll log all HTTP requests for you.

like image 39
mjkaufer Avatar answered Nov 07 '22 07:11

mjkaufer