当前位置:网站首页>在电视屏幕上进行debug调试
在电视屏幕上进行debug调试
2022-04-23 14:09:00 【瑞瑞小同学】
一:引入debug.v3.js文件
二:debugLog(),相当于console.log()
debug.v3.js
(function() {
var opt = {
enable: true,
isMsgAppend: true, //false 每条log信息插入到在panel底部
};
window.debugLog = debugLog;
if (!opt.enable) {
return false;
}
var debugHtml = '<div id="log-panel" class="scrollable" style="text-align: left;display:block;position: fixed; top: 0; left: 0; width: 800px;height:100%;overflow:auto; z-index: 99999; color: #13F713; background: rgba(0,0,0,0.7); padding:5px 0; text-decoration: none;"></div>';
document.body.innerHTML += debugHtml;
var panel = document.querySelector('#log-panel');
var logPanel = document.getElementById('log-panel');
function obj2str(value) { //对象转换成字符串
var valueType = "&
版权声明
本文为[瑞瑞小同学]所创,转载请带上原文链接,感谢
https://blog.csdn.net/yr123456654321/article/details/113120029
边栏推荐
猜你喜欢
星界边境Starbound创意工坊订阅的mod的存放路径
差分隐私(背景介绍)
On the multi-level certificate based on OpenSSL, the issuance and management of multi-level Ca, and two-way authentication
帆软调用动态传参的方法,在标题中设置参数
Recyclerview advanced use (I) - simple implementation of sideslip deletion
回顾2021:如何帮助客户扫清上云最后一公里的障碍?
Research on recyclerview details - Discussion and repair of recyclerview click dislocation
连接公司跳板机取别名
进入新公司,运维工程师从下面这几项了解系统的部署
字节面试编程题:最小的K个数
随机推荐
帆软报表设置单元格填报以及根据值的大小进行排名方法
时间复杂度计算举例
HyperMotion云迁移完成阿里云专有云产品生态集成认证
OpenStack命令操作
VMware Workstation 无法连接到虚拟机。系统找不到指定的文件
win10自带Groove音乐不能播放CUE和APE文件的一种曲线救国办法,自己创建aimppack插件包,AIMP安装DSP插件
Can global variables be defined in header files
Multiple inheritance virtual base exercises
Postman的安装使用及填坑心得
贷款市场报价利率(LPR)与贷款基准利率介绍
HyperMotion云迁移助力中国联通,青云完成某央企上云项目,加速该集团核心业务系统上云进程
连接公司跳板机取别名
Wechat applet communicates with low-power Bluetooth - sending data to hardware (III)
预览CSV文件
倒计时1天~2022云容灾产品线上发布会即将开始
Gartner预测云迁移规模大幅增长;云迁移的优势是什么?
DP energy Necklace
redis数据库讲解(四)主从复制、哨兵、Cluster群集
帆软实现一个单选按钮,可以统一设置其他单选按钮的选择状态
JDBC详解