问题
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
回答1:
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.
To view the features/missing features of Firebug Lite visit this page.
回答2:
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:
http://www.microsoft.com/en-us/download/details.aspx?id=18359
回答3:
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:
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)
- Screenshot
来源:https://stackoverflow.com/questions/16112345/developer-tools-in-ie7-to-view-console-log-messages