Coder Perfect

How can I make the JavaScript console in Google Chrome persistent?

Problem

Because I’m creating a dynamic site, I need to keep track of changes across pages, such as Ajax calls, POST, GET requests, and other such things.

I’m searching for something similar to Firebug’s “permanent” mode, where the console isn’t cleared every time you refresh a page or submit a form.

So, my question is: is there a method to make the JavaScript console in Google Chrome persistent? (And, if so, in what way?)

Update: In case anyone is still seeking for this, Chrome 14+ includes a feature called “Console: Preserve log on navigation” in Developer Tools > Settings.

Update 2: This option is available by right-clicking in the console in the current versions of Chrome (33+).

Update 3 (late 2017): This option is available in the current versions of Chrome (60+) by opening the console, selecting “preserve log” from the gear menu in the upper right corner.

Asked by Zlatko

Solution #1

If anyone is still looking for this, I’m using Chrome 15.0.874.58 beta-m and have an option titled “Console: Preserve log on navigation” in Developer Tools > Settings. It does a good job.

Answered by Nick Cox

Solution #2

67.0.3396.87 (Official Build) Version 67.0.3396.87 (Official Build) Version 67.0.3396.87 (O (64-bit)

Answered by Simon

Solution #3

Unfortunately, Chrome does not yet offer that feature, despite discussions in December 2010 about including it in the next major release…

This response is no longer correct.

Answered by BenM

Solution #4

As of Chrome Version 73.0.3683.86 (Official Build) (64-bit):

Answered by Thomas Rokicki

Solution #5

To enable console on popups, try this.

Answered by Kris

Post is based on https://stackoverflow.com/questions/5327955/how-to-make-google-chrome-javascript-console-persistent