# Function: setEnableDebug
▸ setEnableDebug(params
: SetEnableDebugParams): Promise‹SetEnableDebugRes›
设置是否打开调试开关。此开关对正式版也能生效。
# 参数:
属性 | 类型 |
---|---|
params | SetEnableDebugParams |
SetEnableDebugParams
属性 | 类型 | 描述 |
---|---|---|
enableDebug | boolean | 是否打开调试 |
complete? | Method | 接口调用结束的回调函数(调用成功、失败都会执行) |
fail? | Method | 接口调用失败的回调函数 |
success? | Method | 接口调用成功的回调函数 |
# 返回值:
Promise‹SetEnableDebugRes›
← onShow MogsParams →