appletDebugMode property

BOOLState appletDebugMode
getter/setter pair

是否开启小程序的debug模式。 默认为BOOLStateUndefined,此时为旧版通过app.json 中 debug:true 开启vconsole。 当设置为BOOLStateTrue时,强制所有的小程序都会开启vconsole。 当设置为BOOLStateFalse时,非正式版会在更多菜单里显示打开和关闭调试的菜单。 当设置为BOOLStateForbidden时,所有版本强制关闭vconsole,且不可调api开启,多面板不展示打开、关闭调试菜单

Implementation

BOOLState appletDebugMode = BOOLState.BOOLStateUndefined;