chrome是firebug评估控制台的替代品? [英] chrome's alternative for firebug's evaluation console?
问题描述
我正在为一个新网站使用chrome,而我正在做一些javascript调试。
我最喜欢调试嵌套表达式的技术之一是放置一个断点,在控制台选项卡中的firebug的输入面板中输入一个表达式,然后按运行。
但是我没有在chrome中看到这个功能。我可能忽略了一些东西。在吗?我可以在哪里找到它。
I'm using chrome for a new website, and I'm doing some javascript debugging. One of my favorite techniques to debug nested expressions is to put a breakpoint, enter an expression in firebug's input panel in the console tab and press run. But I don't see this feature in chrome. I'm probably overlooking something. Is it there? And where can I find it.
推荐答案
您可以从此页面直接执行:点击 CTRL + SHIFT + J ,点击源选项卡,从左侧的文件下拉列表中选择 forfirebug-evaluation-console ,点击第41行创建一个断点。现在刷新页面,您的断点将停止调试器。
You can do it right from this page: Hit CTRL+SHIFT+J, click the Sources tab, choose chromes-alternative-for-firebug-evaluation-console from the file drop down on the left, click on line 41 to create a break point. Now refresh the page and your breakpoint will stop the debugger.
这篇关于chrome是firebug评估控制台的替代品?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!