因为我正在构建一个动态网站,所以我需要跟踪页面之间的变化,比如Ajax调用、POST、GET等.
我正在寻找与Firebug相同的功能(在Firebug中,您可以启用"持久性",并且在每次重新加载页面或提交表单时,控制台都不会被清除).
那么,我的问题是:is there a way to make Google Chrome JavaScript console persistent? (如果是,又是如何做到的?)
Update: Copying the answer here, if anyone's still looking for this, Chrome 14+ has a setting in Developer Tools > Settings labelled "Console: Preserve log on navigation".
Update 2:最新版本的Chrome(33+)通过在控制台中单击鼠标右键来实现此选项.
Update 3(2017年底):最新版本的Chrome(60+)通过打开控制台,点击右上角的齿轮并 Select "保存日志(log)"来实现此选项