Question

Developer Tools - preserve console record

For Network, Profiles and Timeline, there is a record button, which preserves the log. Is there anyway I can do the same for console log?

Sometimes, if there is an error in the script or during post submission, the page stop rendering or redirects and the console log clears. Is there any way to see the previous logs.

 21  16776  21
1 Jan 1970

Solution

 42

Click the settings button in the lower right corner. Under General > Console check "Preserve log upon navigation". I should mention that I'm using Chrome version 23.0.1271.101, so if you don't see the option try upgrading.

Preserve log upon navigation

Update:

As of Chrome 59.0.3071.115 you need to click on the Console tab then click on the little gear icon and check Preserve log.

enter image description here

2012-12-19

Solution

 9

Currently not possible. Star this bug report, hopefully it will be implemented one day.

2011-05-09