官术网_书友最值得收藏!

Debugging and tools

Knowing how to program with JavaScript is important, but so is knowing how to debug your code. Debugging is very useful in helping you find bugs in your code, but it can also help you execute your code at a lower speed so that you can see everything that is happening (the stack of methods called, variable assignment, and so on). It is highly recommended that you spend some time debugging the source code of this book to see every step of the algorithm (it might help you understand it better as well).

Both Firefox and Chrome support debugging. A great tutorial from Google that shows you how to use Google Developer Tools to debug JavaScript can be found at https://developer.chrome.com/devtools/docs/javascript-debugging .

You can use any text editor of your preference. However, there are other great tools that can help you be more productive when working with JavaScript as well, which are as follows:

  • Aptana: This is a free and open source IDE that supports JavaScript, CSS3, and HTML5, among other languages (http://www.aptana.com/).
  • WebStorm: This is a very powerful JavaScript IDE with support for the latest web technologies and frameworks. It is a paid IDE, but you can download a 30-day trial version (http://www.jetbrains.com/webstorm/).
  • Sublime Text: This is a lightweight text editor and you can customize it by installing plugins. You can buy the license to support the development team, but you can also use it for free (the trial version does not expire) at http://www.sublimetext.com/ .
  • Atom: This is also a free lightweight text editor created by GitHub. It has great support for JavaScript and it can also be customized by installing plugins (https://atom.io/).
主站蜘蛛池模板: 社旗县| 宜良县| 敦煌市| 织金县| 玉溪市| 遂平县| 额济纳旗| 股票| 什邡市| 九龙县| 牙克石市| 中超| 历史| 历史| 油尖旺区| 芦溪县| 新河县| 错那县| 乐安县| 会理县| 黄梅县| 钦州市| 山阳县| 永清县| 广西| 贺兰县| 元阳县| 宣武区| 洪湖市| 柘荣县| 长岛县| 南召县| 京山县| 邓州市| 南投县| 新乡市| 新余市| 交城县| 屏东市| 台州市| 盐源县|