Home > Article > Web Front-end > Illustration of js debugging methods in Visual Studio_javascript skills
Step one: write debugger at the break point;
Part 2: Remove the hook that disables script debugging in IE
Open IE -> Tools -> Options -> Advanced -> Remove Disable Script Debugging (Internet Explorer) and Disable Script Debugging (Others)
When not debugging, remember to unhook IE and hook it up to avoid errors when opening other web pages!