Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can the Network Panel in Chrome Developer Tools Log When Closed?

I have on several occasions run across problems where I want to see the request data for a http request made while I had the Chrome Developer Tools closed, for instance to detect if I request a just made is running slow or has failed completely.

Is there a way I can get Chrome to always track the data in Networking Panel so it's present when I open the Developer Tools without having to reload the page and make new requests?

like image 338
OddEssay Avatar asked Sep 05 '13 09:09

OddEssay


People also ask

What is Network tab in Developer Tools?

Clicking on the "network" tab will show you all network requests being made for a certain page. Once the network tab is open we can begin our tutorial.

What does preserve log do in Chrome dev tools?

Preserve log is a checkbox that lets you persist logs between page refreshes. This is useful when debugging website issues that require you to refresh the page, since all console output is otherwise cleared.


1 Answers

No, this is not possible directly.

You have to have DevTools open for it to log requests. There is a work-around though: This is similar to https://code.google.com/p/chromium/issues/detail?id=178918 - use remote debugging locally (https://developers.google.com/chrome-developer-tools/docs/debugger-protocol#remote).

like image 50
Kinlan Avatar answered Oct 29 '22 17:10

Kinlan