> For the complete documentation index, see [llms.txt](https://docs.docbits.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.docbits.com/end-user-and-partner-section/end-user-section/technical-support-in-docbits/debug-collector.md).

# Debug Collector

The Debug Collector captures a complete snapshot of your DocBits session — network activity, errors, browser environment, and performance metrics — packages it as a JSON report, and (optionally) opens a support ticket directly from the same dialog.

## How to access

Press <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd> on Windows and Linux, or <kbd>Cmd</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd> on macOS. The Performance Report dialog opens immediately.

## What gets captured

* **API calls** — the last 60 REST and WebSocket calls, with timing, status codes, and the URLs that were hit. Calls slower than two seconds are flagged separately.
* **Errors** — recent JavaScript errors and unhandled promise rejections from the browser console.
* **Console logs** — the most recent log messages from the application.
* **Environment** — browser version, operating system, screen size, and active feature flags.
* **User context** — your role, organisation, and the page you were on when the snapshot was taken.
* **Performance metrics** — page load timings (LCP, FCP), memory usage, and DOM size.
* **Trace IDs** — correlation IDs that link the snapshot to backend log entries.

## Creating a support ticket from the dialog

You don't need to download or attach anything manually — the dialog has a **Create Support Ticket** form built in.

1. Fill in your email, leave the suggested subject or replace it, pick a priority, and add any notes that explain what you were doing when the issue happened.
2. Click **Send Report**. The JSON snapshot is attached and the ticket is created in one step.

That's it — support receives the ticket with all the data needed to reproduce.

If you want a local copy of the snapshot, use **Copy Debug Data** to copy the JSON to your clipboard, or your browser's Save As to keep the report as a `.json` file.

## Privacy and data handling

* Authentication tokens and sensitive headers are redacted from captured API calls before the snapshot is built.
* Nothing leaves your browser until you press **Send Report** — the shortcut only opens the dialog.

Review the snapshot before sending if you were handling documents containing customer data. Document IDs visible in URLs will appear in the report.

Open the diagnostic report from the support controls, describe the problem and review the collected technical information before sharing it. A report helps collect evidence; it does not identify the cause by itself.

## See also

If DocBits opens to a blank screen instead of the normal interface, the cached application files may be out of date. See [PWA Cache Status](https://docs.docbits.com/end-user-and-partner-section/end-user-section/technical-support-in-docbits/pwa-cache-status.md) to inspect the cache and clear it.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.docbits.com/end-user-and-partner-section/end-user-section/technical-support-in-docbits/debug-collector.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
