Firebug Lite in IE suppressing console.log statements?

耗尽温柔 提交于 2019-12-01 07:29:28

问题


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

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?

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

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

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.

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.


回答1:


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>

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



来源:https://stackoverflow.com/questions/9830287/firebug-lite-in-ie-suppressing-console-log-statements

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!