Home >Web Front-end >JS Tutorial >Learn JS debugging easily (without downloading any tools)_javascript skills

Learn JS debugging easily (without downloading any tools)_javascript skills

WBOY
WBOYOriginal
2016-05-16 18:29:37867browse

However, I still have some experience in JS debugging:
First, when we write a piece of JS:
1. Click on the IE browser - Toolbar - Click on Developer Tools or press F12

Our debugging interface
Click on the far left to set breakpoints like VS2005

Click to debug:



You can return to the page to run or refresh for debugging

In fact, they are all Microsoft products and inevitably the same as VS, so it is easy to learn

Since it is the same as VS, naturally VS can also debug JS

Firefox is almost the same. Select the error console (CTRL SHIFT J) and you can directly input JS to test
The easier to use is firefox and firebug combined to view, related The usage tutorial is as follows.

firefox firebug Chinese introductory tutorial Script House New Year Special Edition
Tutorial on using the firefox plug-in Firebug

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn