# Debug Mode

Debug Mode is a useful tool for troubleshooting problems with Instainfantry. When Debug Mode is enabled, Instainfantry will create a more complex log of the activity of your Infantry accounts. This information can be used to identify the source of any bugs or errors. Once Debug Mode is enabled, you will see in the Activity Log tab an extensive and in-depth log of your account’s activity. The Activity Log tab will display a list of all of the recent activity of your Infantry accounts. If you are experiencing a bug with Instainfantry, I recommend enabling Debug Mode and sending me a screenshot of your logs. This will help me to quickly diagnose the problem and provide you with a solution.

<figure><img src="https://lh7-us.googleusercontent.com/HcF7n7Si6P1fHRMQN9OCZrmWbos6Du02ukaIZsO7Tbj3kDeKMd8150AZ1tG4DMi4klI08xbBLQTMlfcKY-AoqBaVqvqyDSFSH35GRQ8dsROUuykuubWk2OFXdH33kRNy2CoNX1Aj_kFNkSFmc2hAym4" alt=""><figcaption><p>Debug Mode preview</p></figcaption></figure>

<figure><img src="https://lh7-us.googleusercontent.com/AbOw0LEGfYAm43V5i0kZqRwkSPtS9M8N1x0YNOGSFY6u6rOgPQjyB-7vLBxdpAkBCAVeyGHCDkw4HzG7DOuQK324J7hvaQPEjKNGY7IIhel50lYW71zbQlx54Q3eXOKnjsM8yI8zxy555PvfdMrWazc" alt=""><figcaption><p>Debug Mode in Activity Log preview</p></figcaption></figure>


---

# 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.instainfantry.com/chapter-2-using-instainfantry/target-quality-tracking-and-debug-mode/debug-mode.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.
