Home > Web Front-end > JS Tutorial > body text

Web Inspector: Introduction to debugging Js in Sublime Text_Basic Knowledge

WBOY
Release: 2016-05-16 17:36:32
Original
2248 people have browsed it

 Sublime Text is an excellent cross-platform editor with a beautiful user interface and powerful features, such as code thumbnails, multiple selections, shortcut commands, etc. Key bindings, menus and toolbars can also be customized. The main features of Sublime Text include: spell check, bookmarks, complete Python API, Goto function, instant project switching, multi-selection, multi-window and more.

In addition, Sublime Text has many plug-ins, which can be easily installed and managed through package management tools. The Sublime Web Inspector introduced in this article is an excellent development assistance plug-in among many plug-ins, which can help web developers debug JavaScript code directly in Sublime Text.

The main features of Sublime Web Inspector are as follows:

Breakpoint

In the editor, you can set and delete breakpoints.

Console

View all console messages sorted by level.

Interactivity

Click the name:line area to navigate to the file and line of code; click Object to plug in the properties of the object.

Debugger

At the breakpoint, you can see the stack of the code running and all variables (local, global, closure).

Run the selected code snippet

Add monitoring functionality similar to Firebug.

Sublime Text 2 Download Sublime Web Inspector

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template