# 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="/files/rlLKyV57Az0uc8NoLbC4" 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="/files/RSHL2V99ZuffeCkBLzkX" 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="/files/te5AqRyi2bYKzURF1AHc" 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="/files/MIVjQo6VKRojArfh0ydE" 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](/app-tracking-setup/getting-started.md#initialize-the-jentis-app-sdk)


---

# 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://docs.jentis.com/app-tracking-setup/troubleshoot.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.
