然后设置调试属性为tr…","url":"https://www.cnblogs.com/raylovelc/archive/2008/05/29/1209672.html","mainEntityOfPage":{"@type":"WebPage","@id":"https://www.cnblogs.com/raylovelc/archive/2008/05/29/1209672.html"},"image":"https://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif","publisher":{"@type":"Organization","name":"惯性聚合","logo":{"@type":"ImageObject","url":"https://juhe.plus/apple-touch-icon.png"}},"author":{"@type":"Person","name":"pysharp"},"datePublished":"2008-05-29T01:17:00.000Z"}]}

























直接给出jsDebug.js的代码。
Code
再要调试的页面添加引用
<script type="text/javascript" src="js/jsDebug.js"></script>
然后设置调试属性为true
<script type="text/javascript">
jsDebug.debug=true;
</script>
这样就可以把错误直接输出了,是不是稍为方便呢?呵呵~~但愿对你有帮助。
此版本只是1.0的,以后会有更加丰富的功能加入,大家一起努力。
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。