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/]