> For the complete documentation index, see [llms.txt](https://docs.candy-smith.com/main/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.candy-smith.com/main/sweet-candy-sugar-match-3/how-to-use-debug-settings.md).

# How to use debug settings

<figure><img src="https://static.wixstatic.com/media/d59ada_d53470c07bfa4750944f946bd2163ccd~mv2.jpg/v1/fill/w_528,h_482,al_c,q_80,enc_auto/tutor1.jpg" alt=""><figcaption></figcaption></figure>

Debug settings is a useful tool to test the levels.

1. Gather logs of combine you got after a switch
2. Gather logs of destroying items, i.e. you can see where it starts and why
3. Gather logs of falling items and its path through the squares \
   To print information to the Console - use Show Log Immediately option or use the ItemDebugInspector\
   component on Item you want to observe. Then use "Print" button on specific item in the game to see logs only\
   about this item
4. Enables automatic play on the level. You can use it with Time scale option to pass a level faster
5. Speeds up or slows down the animation of popups and GUI effect
6. Speeds up or slows down items animations like falling, destroying
7. Print gathered logs into Console\
   Hotkeys are very useful to test levels
8. Enables/Disables HotKeys
9. Instant Win
10. Last move. Set moves = 1.&#x20;
11. Restarts the level
12. Switches to next sub-level
13. Emulates "back" button on the android in some dialogs
14. Regenerates all items on the field<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.candy-smith.com/main/sweet-candy-sugar-match-3/how-to-use-debug-settings.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
