当前位置:网站首页>在电视屏幕上进行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
边栏推荐
- logback-logger和root
- 1到100号的灯开关问题
- 微信小程序客服接入,实现发送和接收消息
- 利用json-server在本地创建服务器请求
- About the configuration and use of json5 in nodejs
- Understand the concepts of virtual base class, virtual function and pure virtual function (turn)
- Can global variables be defined in header files
- dp-[NOIP2000]方格取数
- 快速搞懂线程实现的三种方式
- 关于Jmeter启动闪退问题
猜你喜欢

某政务云项目业务系统迁移调研实践

星界边境文本自动翻译机(高级版)使用说明

帆软实现一个单选按钮,可以统一设置其他单选按钮的选择状态

字节面试编程题:最小的K个数

按实际取,每三级分类汇总一次,看图知需求

MySQL数据库讲解(八)

RecyclerView进阶使用-实现仿支付宝菜单编辑页面拖拽功能

Win10 comes with groove music, which can't play cue and ape files. It's a curvilinear way to save the country. It creates its own aimpack plug-in package, and aimp installs DSP plug-in

教育行业云迁移最佳实践:海云捷迅使用HyperMotion云迁移产品为北京某大学实施渐进式迁移,成功率100%

How QT designer adds resource files
随机推荐
mysql 5.1升级到5.69
HyperBDR云容灾V3.3.0版本发布|容灾功能升级,资源组管理功能优化
squid代理
Can global variables be defined in header files
DP energy Necklace
MySQL数据库讲解(七)
Date的after时间判断
剑指offer刷题(1)--面向华为
RecyclerView高级使用(二)-垂直拖拽排序的简单实现
帆软实现分页时第一行和最后两行冻结方式
findstr不是内部或外部命令解决方法
困扰多年的系统调研问题有自动化采集工具了,还是开源免费的
mysql 5.1升级到5.67
差分隐私(背景介绍)
ActiveMq基础知识
sql中出现一个变态问题
pthread_ Why does self() repeat
JDBC详解
RecyclerView进阶使用-实现仿支付宝菜单编辑页面拖拽功能
多云数据流转?云上容灾?年前最后的价值内容分享