如何使Google Chrome JavaScript控制台持续存在? [英] How to make Google Chrome JavaScript console persistent?

查看:263
本文介绍了如何使Google Chrome JavaScript控制台持续存在?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于我正在建立一个动态网站,我需要跟踪页面之间的变化。 Ajax调用,POST,GET和类似的东西。

Since I'm building a dynamic site, I need to track the changes between pages, ie. Ajax calls, POST, GET stuff and similar stuff.

我正在寻找与Firebug相同的功能(您可以在其中启用持久性,而控制台不是清除每次您重新加载页面或提交表单时。

I'm looking for the same functionality like in Firebug (where you can enable "persistent" and the console is not cleared every time you reload a page or submit a form.

所以,我的问题是:有没有办法让Google Chrome JavaScript控制台持续执行? strong>
(如果是,如何?)

So, my questions is: is there a way to make Google Chrome JavaScript console persistent? (And if yes, how?)

更新:在这里复制答案,如果有人仍在寻找, Chrome 14+在工具>设置中设置了控制台:保存登录导航。

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

更新2 :最新版本Chrome(33+)通过在控制台中右键单击此选项。

Update 2: the latest versions of Chrome (33+) have this option by right-clicking in the console.

推荐答案

如果有人仍在寻找这个,在Chrome 15.0.874.58 beta-m上,我在开发工具>设置中有一个复选框,标有控制台:保存登录导航,工作很好。

If anyone's still looking for this, I'm on Chrome 15.0.874.58 beta-m and I have a checkbox in Developer Tools > Settings labelled "Console: Preserve log on navigation". Does the job nicely.

这篇关于如何使Google Chrome JavaScript控制台持续存在?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆