# Debug

The `Settings > Debug` page provides operational diagnostics and quick troubleshooting tools for administrators.\
It combines:

* Environment-level insights (database size, active customer footprint)
* Temporary debug controls (support access, debugbar)
* Direct tooling access (Laravel logs, Adminer)

Use this page for short-term diagnostics and support workflows, not for permanent system configuration.

<figure><img src="/files/1t5LsBJ3ugMbJu5mXNkW" alt=""><figcaption></figcaption></figure>

#### Table Sizes

The **Table Sizes** option displays all database tables with their current size in MB. It is useful when you want to understand storage distribution, identify unusually large tables, or prepare cleanup and optimization work.

#### Active Customers

The **Active Customers** option lists customers that currently have active services and shows how many active services each customer has. This helps you quickly understand active system load from a customer perspective and can support triage or impact analysis tasks.

#### Enable Support Access

The **Enable Support Access** setting allows temporary support access for troubleshooting or intervention. It can be toggled from the Debug page and is designed to be time-limited. Once enabled, it is automatically switched off by a cronjob after 72 hours, so access does not remain active unintentionally.

#### Show Debugbar

The **Show Debugbar** setting activates the Laravel Debugbar for diagnostic purposes. It is intended for short-term debugging sessions and allows developers or admins to inspect execution details such as request and query behavior. In the current implementation, the Debugbar activation is temporary (24 hours).

#### Download Laravel Log

The **Download Laravel Log** function lets you download the Laravel log file for a selected day. This is useful for reviewing historical errors, investigating incidents, and sharing concrete log evidence during support or development workflows.

#### Open Adminer

The **Open Adminer** action opens Adminer in a new tab so you can inspect the database directly. It is useful for quick manual checks, data verification, and ad-hoc query-level troubleshooting when deeper inspection is required.


---

# 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.hostware.io/system-and-configuration/settings/debug.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.
