# Client debug data

Client debug data is not intended to be enabled at all times. It can help in error or support situations where extra data is required from the client, in order to understand the state of the application during operations.

By default, this feature is disabled. To enable the feature, you have to enable it in the application configuration. See CLIENT_DEBUG_DATA_ENABLED_OS_TYPES in our application configuration documentation for more details.

Regardless of whether sending debug data is enabled on the server, the end-user can always turn off sending debug data in the EncapConfig in the app. They can do this by setting allowDebugData to false. This is set to true by default.

In order for data to be sent, the feature has to be enabled both in the application configuration, and in the app's EncapConfig.

Data Description Example
Disk space The amount of space left on the phone's main storage (Mb). "diskSpace": "4613"
Available memory The amount of memory left on the phone (Mb). "availableMemory": "566"
Process ID The process ID of the app performing the operation. "processId": "14247"
Thread ID The thread ID performing the operation. "threadId": "1172"
Battery saver Indicates if the phone is currently in battery saver mode (true/false). "batterySaver": "false"
Connection Type Indicates if the operation is performed over Wifi or a cellular connection (wifi/cellular/unknown). "connectionType": "wifi"
Client request time The time on the phone when the operation is performed (HH:mm:ss.SSS). "clientRequestTime": "10:36:26.160"
Last updated: 20/03/2024 10:00 UTC