当前位置:网站首页>在电视屏幕上进行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
边栏推荐
- Recyclerview advanced use (II) - simple implementation of vertical drag and drop sorting
- MySQL数据库讲解(七)
- Multiple inheritance virtual base exercises
- 帆软之单元格部分字体变颜色
- Pass in external parameters to the main function in clion
- Can global variables be defined in header files
- std::map 和 std::vector 内存释放
- 线程间控制之Semaphore使用介绍
- Oracle-数据泵使用
- Essential difference between restful WebService and gSOAP webservice
猜你喜欢
随机推荐
Wechat applet input hidden and inoperable settings
Logback logger and root
JDBC details
ActiveMQ Basics
线程间控制之CountDownLatch和CyclicBarrier使用介绍
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
Jira截取全图
Essential difference between restful WebService and gSOAP webservice
RecyclerView细节研究-RecyclerView点击错位问题的探讨与修复
On the problem of cliff growth of loss function in the process of training
获取线程返回值Future接口与FutureTask类使用介绍
Operation instructions of star boundary text automatic translator
VMware Workstation 无法连接到虚拟机。系统找不到指定的文件
json date时间日期格式化
Visio画拓扑图随记
星界边境Starbound创意工坊订阅的mod的存放路径
mysql 5.1升级到5.67
STD:: map and STD:: vector memory free
RecyclerView高级使用(二)-垂直拖拽排序的简单实现
文字组合,不重复,做搜索或查询关键字匹配