开发者

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).

Stop the console log clearing when you click a link in Google Chrome


Google Chrome Version: 65.0.3325.146 (Official Build) (64-bit)
Under the Network tab check Preserve Log

Stop the console log clearing when you click a link in Google Chrome

Google Chrome:Version 39.0.2171.95 (64-bit)
Console -> Settings -> Preserver log

Stop the console log clearing when you click a link in Google Chrome


Stop the console log clearing when you click a link in Google Chrome

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜