Ie9 cannot debug JavaScript.

Source: Internet
Author: User

I don't know why I couldn't debug JavaScript on IE8 of my computer two days ago. I checked the option "Disable script debugging (Internet Explorer)" in the IE option, but it didn't take effect, if it is enabled again, It is selected.

Find a lot of methods on the Internet, the most mentioned method is to modify the registry:

HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Internet Explorer \ advancedoptions \ browse \ script_debugger_ie \ checkedvalue

After the "checkedvalue" key value is set to "no", although "Disable script debugging (Internet Explorer)" is no longer selected, it still cannot be debugged. Depressed.

So I want to upgrade IE8 to ie9. However, after the upgrade, the problem still persists and crashes ....

In the crash, I suddenly remembered that ie9 was not a "Developer tool? Press F12 to open "Developer Tools"

Select the "script" tab, and then press the "start debugging" button to set a breakpoint

Then open a test page.

At this time, close the "Developer tool", note that it is not to close IE, and refresh the test page again.

However, this solution has a disadvantage: If IE is disabled, the next time IE is opened, it still cannot be debugged, and the above steps must be performed. However, opening the "Developer tool" again is troublesome, but it is better than debugging.

This method is stupid. Do you know which experts have a better solution?

MoreArticleSee: Watch Xuan [http://www.watch-life.net/]

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.