"Chrome" Chrome developer tools

Source: Internet
Author: User
Tags chrome developer chrome developer tools

1. Common Console Tools

Console.log Console.info Console.error Console.warn

Console.assert

Console.count

Console.dir

Console.time Console.timeend

Console.profile

Console.timeline

Console.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 selected

Copy has no effect t_t

Keys values The former returns data that consists of all the property names of the passed-in object, which returns an array of all property values.

Monitor Unmonitor The former monitoring module, each execution will output a message in the console output incoming parameters, the latter to release the monitoring

Debug Undebug The former receives a function name as a parameter. When the function is executed, it automatically breaks down for debugging, similar to a breakpoint at the entrance of the function, can be done by debugger, and can be manually interrupted by finding the appropriate source code in the Chrome developer tool. The latter unlocks the breakpoint.

2. Other tools

The following command in the address bar can be used to obtain the appropriate information:

Command Role
chrome://dns/ To view the DNS prefetch domain name for Chromium
Chrome://net-internals

Capture Export Import,proxytimeline,dns,socket,

Spdy,quic,pipelining,cahce,spis,tests,hsts,bandwidth,prerender

Chrome://net-internals#events All network stacks complete work and messages are delivered
Chrome://net-internals#timeline A graph based on time that records the network resources used at each point in time chromium

"Chrome" Chrome developer tools

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.