Stop the console log clearing when you click a link in Google Chrome
JavascriptGoogle ChromeJavascript Problem Overview
Referred to as the "JavaScript console", when you click on a link, the log is cleared.
Is there a way to stop this log from being cleared when you click on a link?
The problem is that an event triggered onClick is returning an error which makes it harder to diagnose because the error is only displayed for a short time before being cleared.
Thanks.
Javascript Solutions
Solution 1 - Javascript
This is an option in the developer tools. Right click the console, and select Preserve Log upon Navigation, or go through the settings menu (bottom right cog-looking icon in the devtools).
Solution 2 - Javascript
Google Chrome Version: 65.0.3325.146 (Official Build) (64-bit)
Under the Network tab check Preserve Log
Google Chrome:Version 39.0.2171.95 (64-bit)
Console -> Settings -> Preserver log