Discover chrome developer tools shortcut, include the articles, news, trends, analysis and practical advice about chrome developer tools shortcut on alibabacloud.com
1. Common Console Tools
Console.log Console.info Console.error Console.warnConsole.assertConsole.countConsole.dirConsole.time Console.timeendConsole.profileConsole.timelineConsole.trace$ $_ Returns the result of the most recent expression execution, with the same function as pressing the UP ARROW key and then the carriage return is the same $0~$5 represents the last 5 DOM nodes you have selectedCopy has no effect t_tKeys values The former return
http://segmentfault.com/a/1190000000683599Original addressHere I assume that you are using chrome, if you do web development, or if you are more curious about the rendering of web pages and like to toss, then you must know the developer tools of Chrome. In fact, other browsers also have similar
the link in anonymous mode, and now Chrome can still keep the same developer tool status when you open it anonymously, such as the same toolbar location, size, panel layout, setup information, and so on.Consoleuse a function in the panel getEventListeners(node) to get the current node-bound event, returning an arrayIn the Elements panel, right click on the inline JS or CSS path, select open can open the So
As the name implies, the Chrome development tool is a tool that allows web developers to intervene and manipulate Web pages through browser applications, or to debug and test Web pages or Web applications through this tool. With this tool, you can do a lot of interesting things:
Debugging the interface problem
debugging JavaScript code with breakpoints
Optimize your code
To open the developer
As the name implies, the Chrome development tool is a tool that allows web developers to intervene and manipulate Web pages through browser applications, or to debug and test Web pages or Web applications through this tool. With this tool, you can do a lot of interesting things:
Debugging the interface problem
debugging JavaScript code with breakpoints
Optimize your code
To open the developer
Front-end programmers or college students are developing Web pages, what if they want to test or optimize the structure of the Web page by testing? This requires a tool, Chrome browser developer tools? This article is not familiar with the developer tool of the students or peers, talk about, first read the articleHow d
Opening of developer toolsRight-click on the page and select the review element;or open the Tools--developer Tools;or open with a shortcut key Command Option + I ; Then you'll see eight tools on top:
Elements: Allows us
Abstract: Chrome Developer Tools is an indispensable tool in front-end development, here are a few interesting command line API, so that the development of debugging process, inadvertently revealed that a little bit of elegance.Main content :
Random file Jump
Random ways to jump
Flexible breakpoint settings, I want you to stop before you stop
Command-line tool Devtool, which runs the node. JS program in Chrome's developer tools.The following records show how breakpoints are set in an HTTP server.The tool combines the functions of node. JS and Chromium based on Electron. It is designed to provide a simple interface for debugging, analyzing, and developing node. JS applications.You can use NPM to install it:NPM install-g DevtoolIn a way, we can use it as a node substitute for shell commands.
Note: This article is the fourth article on chrome Developer Tools translation.
See https://developers.google.com/chrome-developer-tools/docs/resources for more informationChrome Developer
In the previous article, we introduced the basic function, this time to share the most useful panel Sourcesin chrome development tools. The Sources panel is almost the most common chrome feature panel I've used, and it's the main function panel that I see To solve general problems. Usually as long as the development has encountered JS error or other code proble
Even if you're not a front-end development engineer, I'm sure you won't be unfamiliar with chrome. According to the latest (2015/06) browser market share report, Chrome is almost half the world's browser. Simple and quick, it has become a new favorite of the people in this era. If you're a web developer, I recommend you use C
Even if you're not a front-end development engineer, I'm sure you won't be unfamiliar with chrome. According to the latest (2015/06) browser market share report, Chrome is almost half the world's browser. Simple and quick, it has become a new favorite of the people in this era. If you're a web developer, I recommend you use C
Most of the content tools for the chrome developer tools are described earlier, and the last two features audits and Console panels are now covered.First, auditsAudits panel will put forward several optimization suggestions for the current Web page, these suggestions are divided into two categories, one is the network
The Google Chrome Developer Tools provide an integrated environment for debugging, optimizing, and understanding a web application, or website, running in Google Chrome. the developer tools are developed partly through the open so
Even if you're not a front-end development engineer, I'm sure you won't be unfamiliar with chrome. According to the latest (2015/06) browser market share report, Chrome is almost half the world's browser. Simple and quick, it has become a new favorite of the people in this era. If you're a web developer, I recommend you use C
Your website is running properly. Now let's make it run faster. The website performance is determined by the page loading speed and code execution efficiency. Some services can make your website load faster, such as compression and CDN, but make code execution faster.
Minor changes in the Code may have a huge impact on performance. The quick and flexible website and the terrible "no response script" dialog box may have only a few lines of code. This article shows you how to use
), will be accurate to locate the specific row5. Location of the transformation development toolClick the icon in the top right corner of the mouse or use the shortcut key ctrl+shift+d to toggle the location of the developer display (floating, right, bottom), such as:6. Triggering pseudo-classSelect an element, right-->force element state or click the upper-right icon (Toggle element state icon)7. Get the s
operates the DOM.3. XHR breakpoints, Event listener breakpoints:XHR breakpoints, can be conveniently broken to xmlhttprequest AJAX requests. Event Listener breakpoints, can be conveniently broken to various events.4. Find JavaScriptUsing Ctrl+shift+f, open the Find window to find support for regular expressions:Find function Definition: Ctrl + Shift + OFind file: Ctrl + O5. Modify JavaScript code in real timePage outside the chain JavaScript file can be directly modified in the Script panel, af
in the last wordsToday's JavaScript engine has a strong ability to automatically reclaim the memory garbage generated by the code. That is, they can only do this, but our application is still proving to be a memory leak due to a logical error. Use the appropriate tools to find the application's bottleneck, and remember, don't rely on guessing – test it.Help instances diagnose memory leaksAlthough a lot of the content has been mentioned in this articl
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.