当前位置:网站首页>对无限debugger的一种处理方式
对无限debugger的一种处理方式
2022-08-01 02:46:00 【滕青山YYDS】
解决方法是:利用Reres插件替换原js文件。
这里以KuangStudy为例,当我们进入页面后打开开发者工具,页面会卡住,如图:

即使点击这个按钮来屏蔽按钮也是无效的:
所以就可以利用Reres插件替换原js文件。
右键该文件来复制地址:

地址为:https://www.kuangstudy.com/assert/js/debug/debug.js?v=10.98
打开我们的Reres插件来配置规则:

.*/debug/debug.js.*
http://localhost/myjs.js
myjs.js是我们自己的js文件,在这个文件中删除了debugger;这一行,因此应用该规则后不会再卡在断点。
让自己的本地文件可以通过http访问的方式有很多,比如使用python运行python -m http.server,我这里是用的phpstudy 2018这个软件:

边栏推荐
- 初出茅庐的小李第114篇博客项目笔记之机智云智能浇花器实战(3)-基础Demo实现
- Modify Postman installation path
- One service layer needs to call the other two service layers to obtain data and assemble it into the final data. The data is all lists. How to design the cache?
- 【分层强化学习】HIRO:Data-Efficient Hierarchical Reinforcement Learning
- 情人节浪漫3D照片墙【附源码】
- 【历史上的今天】7 月 31 日:“缸中之脑”的提出者诞生;Wi-Fi 之父出生;USB 3.1 标准发布
- New York University et al | TM-Vec: Template Modeling Vectors for Rapid Homology Detection and Alignment
- 解决IDEA默认情况下新建文件时,右击,new,没有XML文件的问题
- By CSDN, torn
- Google Earth Engine - Error resolution of Error: Image.clipToBoundsAndScale, argument 'input': Invalid type
猜你喜欢

RTL8762DK Lighting/LED (3)

Game Security 03: A Simple Explanation of Buffer Overflow Attacks

普通用户无法访问hgfs目录

Unity3D study notes 10 - texture array

IDEA无法识别module(module右下角没有蓝色小方块)

机器学习应该如何入门?

The fledgling Xiao Li's 114th blog project notes: Wisdom cloud intelligent flower watering device combat (3) - basic Demo implementation

开源项目站点必备&交流区功能

opencv 缩小放大用哪种插值更好??

【入门教程】Rollup模块打包器整合
随机推荐
gateway gateway cross domain
IDEA does not recognize the module (there is no blue square in the lower right corner of the module)
IDEA修改注释字体
【Make YOLO Great Again】YOLOv1-v7全系列大解析(Neck篇)
HCIP(14)
/usr/sbin/vmware-authdlauncher: error while loading shared libraries: libssl.so.1.0.2*Solution
七月集训(第31天) —— 状态压缩
By CSDN, torn
You need to know the TCP wave four times
The fledgling Xiao Li's 112th blog project notes: Wisdom cloud intelligent flower watering device actual combat (1) - basic Demo implementation
MYSQL logical architecture
Solve the problem that Excel opens very slowly after installing MySQL
Raspberry pie arm version of GCC installed configuration and environment variables
初出茅庐的小李第114篇博客项目笔记之机智云智能浇花器实战(3)-基础Demo实现
TCP协议详解
在打开MYSQL表时,有的可以显示编辑,有的没有,如何设置。
设备树——dtb格式到struct device node结构体的转换
LeetCode每日一练 —— 环形链表问题(面试四连问)
HCIP(15)
MYSQL Classic Interview Questions
