# Debug режим (Android SDK)

Debug режим позволяет проверить корректность работы счетчика и его параметры. По умолчанию debug режим выключен. Для того чтобы его активировать, необходимо поменять переменную flag в функции `.debug` с **"false"** на **"true"**.

<figure><img src="/files/Z6Tt16hY3Ss3wwPLbwDz" alt=""><figcaption><p>Параметр debug выключен</p></figcaption></figure>

После чего в консоль будет выводиться логирование событий, где будет информация о названии счетчика, его параметрах и действиях.

<figure><img src="/files/fU0ANTyw93durVPi86Qq" alt=""><figcaption><p>Активированный debug режим</p></figcaption></figure>

Для выключения debug режима поменяйте переменную flag в функции `.debug` с **"true" на** **"false".**


---

# 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://top-100-writer.gitbook.io/top100-documentation/nastroika-sbora-i-otpravki-dannykh/android-sdk/debug-rezhim-android-sdk.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.
