跳到主要内容

Settings:setDebugMode()

开启或关闭调试模式。

签名​

Settings:setDebugMode(enabled: boolean): void

参数​

参数类型描述
enabledbooleantrue 记录逐步运行日志

返回值

void

描述​

该设置属于应用,而不是某个宏。它会影响日志屏幕以及宏结束后显示的运行历史。