# Debug mode

## **How it works?**

When the debug mode is activated, trace logs are being written to a local file with more information about the operations being done. Those trace logs are very useful to us. This file can be sent to us for our review.

## **What do I need to do?**

The following operations need to be followed to help us:

1. Activate the Debug Mode: For this, go to Settings and the Debug Mode activation is the last section right at the botton of the Settings screen
2. Exit Piktures and kill Piktures: It is important to exit Piktures so that the Debug Mode can be activated and operational after a full restart of the app
3. Do the Operation that is causing issues: For instance, you have problems with copying files to the SD Card. Try to copy a file and wait for the error.
4. Send us the logs: when you have reproduced your problem, the debug file has been generated. Please go to Settings again and you will see the ability to Send Logs. Click on Send Logs and you will see your Email app being open. You can add in the body of the message more details if you want to.

Thanks :)


---

# 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://help.piktures.app/debug/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.
