调试
开发者可以借助下列工具进行小程序的调试。
- vConsole:在手机上查看
console
API 输出的日志内容和额外的调试信息。 - Source Map:还原 JS 错误堆栈。
- 真机调试:利用开发者工具,通过网络连接,对手机上运行的小程序进行调试,帮助开发者更好的定位和查找在手机上出现的问题。
- 实时日志:快捷地排查小程序漏洞、定位问题。
- Errno错误码:拥有统一规范的错误码
errno
,以帮助开发者更好地开发调试及处理错误。 - 游戏日志分析:上报游戏日志,帮助开发者更便捷地定位问题。
The translations are provided by WeChat Translation and are for reference only. In case of any inconsistency and discrepancy between the Chinese version and the English version, the Chinese version shall prevail.Incorrect translation. Tap to report.