# Troubleshoot

If you want to troubleshoot the JENTIS App SDK tracking, we provide an option to enable the **Preview/Debug Monitor** on the JENTIS Platform. This tool helps you better understand what is being tracked from your app to JENTIS and provides insights into which tags are executing or not executing and the reasons why.

<figure><img src="https://2315305008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fy15ncufYr341K5U8q6Of%2Fuploads%2Fgit-blob-42115d58b186930b5871a12160a83b88a4927cc7%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
Use the properties version and debugCode only in development environments and never in production. For production, leave these properties unset in the initialization configuration. Use the properties version and debugCode only in development environments and never in production. For production, don’t set any values in the initialization part for version and debugCode.
{% endhint %}

## How to Start a Debug Session

1. **Log in to your JENTIS Account** and navigate to **Publish**.

<figure><img src="https://2315305008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fy15ncufYr341K5U8q6Of%2Fuploads%2Fgit-blob-6234e201372bbd805aa24acceec763a7b0839cb3%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

2. Select the **container** connected to your JENTIS SDK.
3. Click on the **Preview** button to generate a new Preview session.

<figure><img src="https://2315305008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fy15ncufYr341K5U8q6Of%2Fuploads%2Fgit-blob-ac136ed6659ce2e47ae6148a1508107f79f2d6dd%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

4. A new tab will open, displaying the **Preview Monitor**.
5. In the Preview Monitor, you will find the **Debug URL**, which looks similar to:

```
https://ckion-dev.jtm-demo.com/?jts_preview=3&jts_debug=ae4b7f6b-328c-434c-bbbe-20d8c7a80a1f&jts_log=1
```

<figure><img src="https://2315305008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fy15ncufYr341K5U8q6Of%2Fuploads%2Fgit-blob-74cc10f8f0cc4ada46e46a37a4eab910199d3df5%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

From this URL, you can extract the following values:

* **Version**: Passed as the value of the jts\_preview parameter (e.g., 3).
* **Debug Code**: Passed as the value of the jts\_debug parameter (e.g., ae4b7f6b-328c-434c-bbbe-20d8c7a80a1f).

Use these values to initialize the JENTIS SDK by assigning them to the version and debugCode properties. For more information, read [https://app.gitbook.com/o/thoKXuNkGoUolnJEj6hm/s/y15ncufYr341K5U8q6Of/\~/changes/21/app-tracking-setup/getting-started#initialize-the-jentis-app-sdk](https://docs.jentis.com/getting-started#initialize-the-jentis-app-sdk)
