当前位置:网站首页>A way to deal with infinite debugger
A way to deal with infinite debugger
2022-08-01 03:32:00 【Teng Qingshan YYDS】
The solution is: use the Reres plugin to replace the original js file.
Here takes KuangStudy as an example, when we enter the page and open the developer tools, the page will be stuck, as shown in the figure:
Even clicking this button to block the button doesn't work:
h2>
So you can use the Reres plugin to replace the original js file.
Right-click the file to copy the address:
The address is: https://www.kuangstudy.com/assert/js/debug/debug.js?v=10.98
Open our Reres plugin to configure rules:
.*/debug/debug.js.*http://localhost/myjs.js
myjs.js is our own js file. In this file, the line debugger;
is deleted, so after applying the rule, it will not get stuck at the breakpoint again.
There are many ways to make your own local files accessible through http, such as using python to run python -m http.server
, I am using the phpstudy 2018 software here:
边栏推荐
- 《少年派2》:新男友竟脚踩两只船,林妙妙与钱三一感情回温
- Hackers can how bad to what degree?
- 【搜索专题】看完必会的BFS解决最短路问题攻略
- IDEA调试
- Flink deploys and submits jobs
- 【 Make YOLO Great Again 】 YOLOv1 v7 full range with large parsing (Neck)
- Soft Exam Senior System Architect Series: Basic Knowledge of System Development
- leetcode6132. 使数组中所有元素都等于零(简单,周赛)
- IDEA debugging
- 软考高级系统架构设计师系列之:系统开发基础知识
猜你喜欢
随机推荐
Google Earth Engine - Error resolution of Error: Image.clipToBoundsAndScale, argument 'input': Invalid type
This map drawing tool is amazing, I recommend it~~
Flutter “Hello world“ 程代码
Lua introductory case of actual combat 1234 custom function and the standard library function
从设备树(dtb格式数据)中解析出bootargs
【入门教程】Rollup模块打包器整合
Daily practice of LeetCode - Circular linked list question (interview four consecutive questions)
Flutter "Hello world" program code
HIRO: Hierarchical Reinforcement Learning 】 【 Data - Efficient Hierarchical Reinforcement Learning
软件测试基础理论知识—用例篇
《少年派2》:新男友竟脚踩两只船,林妙妙与钱三一感情回温
Guys, MySQL cdc source recycles replication slave and r in incremental process
【消息通知】用公众号模板消息怎么样?
剑指offer专项突击版第16天
Inheritance Considerations
二舅
MYSQL Keyword Explain Analysis
TypeScript简化运行之ts-node
Which interpolation is better for opencv to zoom in and out??
Software Testing Weekly (Issue 82): In fact, all those who are entangled in making choices already have the answer in their hearts, and consultation is just to get the choice that they prefer.