当前位置:网站首页>Debug on TV screen
Debug on TV screen
2022-04-23 14:16:00 【Ruirui junior】
One : introduce debug.v3.js file
Two :debugLog(), amount to console.log()
debug.v3.js
(function() {
var opt = {
enable: true,
isMsgAppend: true, //false Every one of them log Insert information into panel Bottom
};
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) { // Object to string
var valueType = "&
版权声明
本文为[Ruirui junior]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231408339188.html
边栏推荐
猜你喜欢
Operation instructions of star boundary automatic text translator (advanced version)
VMWare安装64位XP中文教程
使用DialogFragment的一些感受及防踩坑经验(getActivity、getDialog为空,cancelable无效等)
微信小程序将原生请求通过es6的promise来进行优化
MySQL-InnoDB-事务
VMware15Pro在Deepin系统里面挂载真机电脑硬盘
postman批量生产body信息(实现批量修改数据)
MySQL数据库讲解(十)
01-nio basic ByteBuffer and filechannel
Logback logger and root
随机推荐
json date时间日期格式化
GFS分布式文件系统(理论)
RecyclerView高级使用(一)-侧滑删除的简单实现
A table splitting implementation scheme of MySQL and InnoDB, MyISAM and MRG_ Introduction to MyISAM and other engine application scenarios
PySide2
Wechat applet communicates with low-power Bluetooth - sending data to hardware (III)
使用DialogFragment的一些感受及防踩坑经验(getActivity、getDialog为空,cancelable无效等)
线程间控制之CountDownLatch和CyclicBarrier使用介绍
差分隐私(背景介绍)
Operation instructions of star boundary automatic text translator (advanced version)
快速搞懂线程实现的三种方式
Pass in external parameters to the main function in clion
在Clion中给主函数传入外部参数
redis数据库讲解(三)redis数据类型
win10自带Groove音乐不能播放CUE和APE文件的一种曲线救国办法,自己创建aimppack插件包,AIMP安装DSP插件
mysql 5.1升级到5.69
void*是怎样的存在?
Preview CSV file
pthread_ Why does self() repeat
postman批量生产body信息(实现批量修改数据)