Nowadays, website development is becoming more and more popular, and the probability of using JS is also very high. js has become a necessary tool for web development. Currently, some websites 80% are developed using Js. For example, map websites. Therefore, JS debugging has become very important.
In addition to debugger and breakpoint setting, you can also use some browser Tools for auxiliary debugging. For example, there is a map object on your page, which is assumed to be a maplet. Now you want to test the running effect of its setcenter function, or even the running effect under abnormal parameters, but you do not want to write a test on your webpage, or even if the website is not yours, you do not have the permission to modify the htmlCodeAt this time, you can use external tools to execute JS statements. For example, firebug. Here we will introduce a browser that can help you debug Js. This is the World (window of the world browser). The final version is 2.0.
:
Http://www.ioage.com/download/TheWorld2.0_chs.exe
After the download is complete, open your browser and you will be directed to the home page of the Software Website. Click "ins" to install all the plug-ins you like and restart your browser.
As you can see, there is an icon under the browser. Click the yellow icon.
The resource collector is displayed, Which is empty. Click the run button to see a piece of code.
< Script Language = " Javascript " >
</ Script >
Now, enter any JS statements you want to run in the middle. Click Run again after writing.
Another plug-in, powerband, can help you understand the structure of the web page and view the HTML code of each element.