javascript IE7 中用于查看控制台日志消息的开发人员工具
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/16112345/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Developer tools in IE7 to view console log messages
提问by Kevin Bowersox
In IE 8 I saw a developer tools section and was able to get to its javascript console and see the console logs I was writing in it... but I can't find such a thing in IE 7 ? Where is it ? does it have it ? I just want to see the output of my console log commands in IE 7
在 IE 8 中,我看到了一个开发人员工具部分,并且能够进入它的 javascript 控制台并查看我在其中编写的控制台日志......但我在 IE 7 中找不到这样的东西?它在哪里 ?有吗?我只想在 IE 7 中查看我的控制台日志命令的输出
回答by Kevin Bowersox
The developer tools were added to Internet Explorer in version 8, unfortunately they are not available in IE7 natively, however they can be added with an additional download. According to the documentation, this add-on does not provide additional Javascript Debugging capabilities. You can look into Firebug Lite for IE7, however it will not be as robust as Firebug or Developer Tools, but it does provide a rudimentary console for logging script output.
开发人员工具在版本 8 中添加到 Internet Explorer,遗憾的是它们在 IE7 中本身不可用,但是可以通过额外的下载添加它们。根据文档,此附加组件不提供额外的 Javascript 调试功能。您可以查看适用于 IE7 的 Firebug Lite,但它不会像 Firebug 或开发人员工具那样强大,但它确实提供了用于记录脚本输出的基本控制台。
To view the features/missing features of Firebug Lite visit this page.
要查看 Firebug Lite 的功能/缺失功能,请访问此页面。
回答by Ian
IE 7 has the Developer Toolbar, which doesn't have as many features/support as Developer Tools. Here's a reference to the add-on:
IE 7 有开发者工具栏,它没有开发者工具那么多的特性/支持。这是对附加组件的引用:
http://www.microsoft.com/en-us/download/details.aspx?id=18359
http://www.microsoft.com/en-us/download/details.aspx?id=18359
回答by super1ha1
The links in these above answers are both invalid links, Firebug Lite seems can not be installed on my Window Vista, IE7, finally, the following works for me:
上面这些答案中的链接都是无效链接,Firebug Lite 似乎无法安装在我的 Window Vista、IE7 上,最后,以下对我有用:
http://www.my-debugbar.com/wiki/CompanionJS/Installing
http://www.my-debugbar.com/wiki/CompanionJS/Installing
It provides a console for IE6 or IE7, so you can see what are the error (in the console log)
它为 IE6 或 IE7 提供了一个控制台,所以你可以看到是什么错误(在控制台日志中)
- Screenshot
- 截屏