# Testing your integration

Batch provides a simple [**debug tool**](https://doc.batch.com/api-and-sdk-documentation/sdk/ios/profile-data/custom-data-debug) that allows you to test your custom data integration (⚙ Settings → Debug). It shows all the data available for a specific user ID:

* **Token**: Find the token of a specific device.
* **Custom user ID**: Check if your [custom user ID implementation](/developer/sdk/flutter/profile-data/custom-user-id.md) is working correctly.
* **Native attributes**: See the installation date, last session date, country and more information on a specific user / install.
* **Custom data**: See if your app is tagged properly and if custom attributes/events are sent to Batch.

![Debug tool](/files/UUZLiapbGG3DF2rSTJwy)

### Finding your ID

**Installation ID**

You can find the Installation ID of a device by calling:

```dart
String? installationID = await BatchUser.instance.installationID
```

You can either log this to the debug logs, or display it in a debug menu directly in your app. It can safely be exposed to your end users, who can then give it back to you if they are experiencing push trouble with their app.

**IDFA**

You can use [The Identifiers app](https://itunes.apple.com/us/app/the-identifiers/id564618183) to find your **Advertising Identifier** *(IDFA)*. Just install the app on your device, tap on the share button and copy the **Advertising identifier**.

### Understanding the results

See our [native documentation](/developer/sdk/ios/profile-data/debug.md#understanding-the-results) for a list of the attributes you can see on the debug page, and what they represent.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.batch.com/developer/sdk/flutter/profile-data/debug.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
