> For the complete documentation index, see [llms.txt](https://aatkit.gitbook.io/aatkit-cordova-integration/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://aatkit.gitbook.io/aatkit-cordova-integration/other/reference/functions/getdebuginfo.md).

# getDebugInfo

### Overview <a href="#markdown-header-overview" id="markdown-header-overview"></a>

Used for obtaining debug information (the same that would be presented in dialog after shaking the device if debug screen is enabled).

### Syntax <a href="#markdown-header-syntax" id="markdown-header-syntax"></a>

```javascript
getDebugInfo(callback)
```

**CALLBACK(REQUIRED)**

*Callback\<String>* Used to provide the function call result to JavaScript.

Parameters:

* String - String with debug information

### Examples <a href="#markdown-header-examples" id="markdown-header-examples"></a>

```javascript
AATKitCordova.getDebugInfo((debugInfo) => {
                console.log("debugInfo " + debugInfo);
            });
```
