# Client Debug Mode

## FiveM Client Debug logs

At times, our support team may request debug logs from your local radio. This contains important information from the radio webpage (running inside the in-game radio in an iframe).

### Toggle Debug Mode On

1. Select the settings gear and click on the header of the settings panel **seven** times.
2. At the bottom, a red section labeled `Debug Mode` will appear, indicating that it has been correctly enabled.
3. Restart the radio (power on/off) to start capturing fresh logs. Once you have re-created the issue, continue on with sending the logs as described below.

<figure><img src="/files/trDvCOJhySpk9afVDqH4" alt="" width="232"><figcaption><p>Sonoran Radio: Debug Mode</p></figcaption></figure>

### Flagging Timestamps

In some cases, you may be asked to add a timestamp flag when an issue occurs. Once the particular issue occurs press the `Flag Timestamp` button in the debug menu, enter in a brief description, and press `Ok`.

This will manually add a debug log to help our developers narrow down the time window.

<figure><img src="/files/tG7lv96G90l5kIXzzCex" alt="" width="302"><figcaption><p>Flag Timestamp</p></figcaption></figure>

### Sending Client Debug logs

1. Open your in-game console by pressing `F8`
2. Select `Open Log`
3. Send the latest file located at `C:\Users\USER\AppData\Local\FiveM\FiveM.app\logs`

<div><figure><img src="/files/VbbbYhD1lgeRo8ZCgwIA" alt=""><figcaption><p>FiveM: Open Client Log</p></figcaption></figure> <figure><img src="/files/AcGk0tH9Yi98biEDAi10" alt=""><figcaption><p>FiveM: Client Log</p></figcaption></figure></div>


---

# 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.sonoransoftware.com/radio/tutorials/usage/troubleshooting/client-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.
