IE中的Firebug Lite压制console.log语句? [英] Firebug Lite in IE suppressing console.log statements?

查看:101
本文介绍了IE中的Firebug Lite压制console.log语句?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

IE8 / 9中的开发者工具非常糟糕,所以我给Firebug Lite一个机会。到目前为止,它完全打败了目的。关于如何包含它的任何提示? Firebug网站上的Bookmarklet链接在我尝试的任何浏览器中都不起作用...

The Developer Tools in IE8/9 pretty much suck so I'm giving Firebug Lite a go. So far it's completely defeating the purpose. Any tips on how to include it? The Bookmarklet link on the Firebug site does not work in any browser I try...

我在JS中做了一些CSS3后备的东西并且想要比[object更多的细节对象]在IE中。我碰巧在这个帖子中提出了建议:
jQuery登录IE:如何获取对象?

I'm doing some CSS3 fallback stuff in JS and want more details than [object Object] in IE. I happened upon the suggestion in this thread: jQuery logging in IE: how to get object?

我在文档的< head> 在几个元声明之后:

I'm including Firebug in my document's <head> right after a few meta statements:

<script src="https://getfirebug.com/firebug-lite.js"></script>

我没有从document.ready语句或其他任何内容获得任何输出。当我把脚本拿出来时,我得到正常的日志语句。

I don't get any output from my document.ready statement or anything else for that matter. When I take the script out, I get log statements like normal.

有没有人让Firebug Lite工作? Firebug Lite如果能抑制日志声明,那到底是什么意思?我不是在浪费太多时间摆弄这个,但我想如果有人得到它可能会有用。

Has anyone gotten Firebug Lite to work? What the hell is the point of Firebug Lite if it suppresses log statements? I'm not wasting much time fiddling with this but I thought if someone got it to work it could be useful.

推荐答案

IE有F12键映射,所以它不会启动firebug但你可以强制它这样工作:

IE has the F12 key mapped so it won't start firebug but you can force it to work like this:

 <script type="text/javascript" src="https://getfirebug.com/firebug-lite.js">
{
    overrideConsole: false,
    startInNewWindow: true,
    startOpened: true,
    enableTrace: true
}
 </script>

您需要的一切都在此页面上: http://getfirebug.com/firebuglite

Everything you need is on this page: http://getfirebug.com/firebuglite

这篇关于IE中的Firebug Lite压制console.log语句?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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