当前位置:网站首页>Do you know the debugging skills of the most commonly used Chrome browser console.
Do you know the debugging skills of the most commonly used Chrome browser console.
2022-07-18 05:12:00 【qq_ twenty-five million seven hundred and forty-one thousand an】
Console printing vue example $ Selected elements Output $0 It's the current element


Get elements quickly and concisely $

Add a class name to the element

Expand all elements at once , Not at the point one by one

Take a screenshot of the whole web page , Not visual area , Intercept the specified Dom Elements

How to give the interface and parameters that need to be reported by the back-end to the front-end and back-end joint debugging



Console copy Data can be formatted json data , You can also copy the data output by variables, which is very fragrant .
Copy the data structure of the response

Search for events

Network request network Some basic information of

Preserve log ( Retain ) The log is used to record the changes before and after the page is refreshed log Or before and after the page Jump log For comparison and debugging
Disable catch Don't cache
Online You can switch the network speed test
Hide data Urls Hide data
Url All View all requests xhr see xml Of http Of request

Introduction of header information
Access-Control-Allow-Origin: The request method allowed to be set in the request header
content-type: The type and encoding method sent by the client
Date: The time when the client requests the server
keep-alive: A long connection
Last-Modified: The last modification time of the resource by the server
Server: Server side web Server name
Content-Encoding: gzip Compression coding type
Transfer-Encoding:chunked: Block data to the client
Accept: The types of resources the client can receive
Accept-Encoding: The type of compressed data the client can receive
Accept-Language: The type of language the client receives
Authorization: To configure token Field
Cache-Control: no-cache The server forbids the client to cache page data
Connection: keep-alive Maintain the connection between client and server
Cookie: The client stores the information of the server
Host: The target host and port number of the connection
Pragma: no-cache The server forbids the client to cache page data
Referer: Where did you come from ( That is, which page to jump from )
User-Agent: The name of the client version number
Let the Internet speed slow down

Resend request , Do you know ,( The console sends a request 2,3 A picture )



And the part of the break point , The frame doesn't work well , pure js Code OK
It will be updated later …
边栏推荐
- Six ways to simplify the process adopted by it suppliers
- 信息系统项目管理师核心考点(六)OSI协议的分层,导图+真题
- 关于解决token过期失效问题
- Wechat applet from the beginning to the tenth day of learning ----- other operations of the applet
- 简化IT供应商采用流程的六种方式
- Redis02: install redis in Linux Environment
- 最常用的chrome浏览器控制台的调试技巧,你看你知道不。
- 网络请求接口 层数(2/3层)是什么意思
- Niuke 2021 summer training 4-e-tree XOR
- 象棋一本通
猜你喜欢

A 59 year old doctor studying in the United States, today received his fifth listed company

Redis02: install redis in Linux Environment

volatile低配版syn,实现可见性和有序性

Talk about several ways spark implements topn

Sqli labs less-1 (updatexml of error injection)

C#编写一个GUI工具并反编译

v-bind和v-for

Clear understanding of big end and small end

电商平台后台管理系统--->系统详细设计(用户登录、商品管理模块)

一/二、高级篇- Mysql逻辑架构、性能与JOIN
随机推荐
Clear understanding of big end and small end
The 15th day of zero basic Lua --- finally, I'll summarize it
Information system project manager 10 days before the exam limit sprint + answer (7)
Core examination sites for information system project managers (VI) layering of OSI protocol, mapping + real questions
Niuke 2021 summer training 3-e-math
Information system project manager 10 days before the exam limit sprint + answer (10): summary of comprehensive knowledge
零基础学lua第十五天---最后归纳下
Six ways to simplify the process adopted by it suppliers
信息系统项目管理师核心考点(十一)物联网两项关键技术和架构
Information system project managers must recite the core examination points (IV) the relationship between UML classes
E-commerce platform background management system -- > operation method description
uni-app做微信登录(待写完)
Experience first! What kind of experience is it to write fluent in the browser?
Connecting with enterprise wechat, customer relationship management can also be very simple!
Information system project managers must recite the core examination sites (10) information system planning
E-commerce platform background management system --- > system detailed design (order management module)
Xiaobai challenges the first day of learning C language - the construction of the operating environment
12306抢票工具震撼来袭
把后台拿到的数据渲染在页面上 对象与数组的渲染方式示例
@tap是什么
