SetDebugSettings¶
Define an action that can enable DebugSettings during runtime or override the DebugSettings in BrandedSettings.json.
All the properties defined under Action are applicable to this action.
SetDebugSettings Properties¶
Property | Type | Required | Default |
---|---|---|---|
Categories | string[] |
No | |
DebugODataProvider | boolean |
No | false |
TracingEnabled | boolean |
No | false |
_Type | const |
Yes |
Categories¶
Array of tracing categories for which the console logger is enabled. The following categories are currently supported:
'mdk.trace.action',
'mdk.trace.api',
'mdk.trace.app',
'mdk.trace.binding',
'mdk.trace.branding',
'mdk.trace.core',
'mdk.trace.i18n',
'mdk.trace.lcms',
'mdk.trace.logging',
'mdk.trace.mdkproject',
'mdk.trace.odata',
'mdk.trace.onboarding',
'mdk.trace.profiling',
'mdk.trace.push',
'mdk.trace.restservice',
'mdk.trace.settings',
'mdk.trace.targetpath',
'mdk.trace.ui'.
- type:
string[]
All items must be of the type: string
DebugODataProvider¶
If set to true, console logger is added to the OData provider and set to Debug level.
- type:
boolean
- default:
false
TracingEnabled¶
If set to true, tracing (execution time) is turned on for rules, actions, and so on.
- type:
boolean
- default:
false
_Type¶
- type:
const
The value of this property must be:
"Action.Type.SetDebugSettings"
Action Result¶
This action does not have an action result.
Examples¶
// SetDebugSettings.action
{
"_Type": "Action.Type.SetDebugSettings",
"DebugODataProvider": true,
"TracingEnabled": true,
"Categories": [
"mdk.trace.odata",
"mdk.trace.profiling",
],
"OnSuccess": "/MDKDevApp/Actions/DebugSettings/SetDebugSettingsSuccess.action",
"OnFailure": "/MDKDevApp/Actions/DebugSettings/SetDebugSettingsFailed.action"
}