Stop the console log clearing when you click a link in Google Chrome
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.
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).
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
精彩评论