# Collections

You can use the `collections` configuration structure to configure the `collections` panel in the debugger. This will dump out the `rc` and the `prc` collections with the final snapshot of their data.  We recommend that you only enable this collector with the appropriate dump top levels as it can completely crash your server trying to dump out all the variables in the collections.

{% hint style="danger" %}
**WARNING** : This collector can crash your server. Make sure you have limits and use it wisely.
{% endhint %}

```cfscript
// Request Collections Reporting
collections : {
	// Enable tracking
	enabled      : false,
	// Expanded panel or not
	expanded     : false,
	// How many rows to dump for object collections
	maxQueryRows : 50,
	// How many levels to output on dumps for objects
	maxDumpTop   : 5
}
```

<table><thead><tr><th width="174">Key</th><th width="126">Type</th><th width="147">Default Value</th><th>Description</th></tr></thead><tbody><tr><td><code>enabled</code></td><td>Boolean</td><td>false</td><td>Enable the collector</td></tr><tr><td><code>expanded</code></td><td>Boolean</td><td>false</td><td>Expand the panel by default or not</td></tr><tr><td><code>maxQueryRows</code></td><td>Integer</td><td>50</td><td>Number of rows to show for query dumps</td></tr><tr><td><code>maxDumpTop</code></td><td>Integer</td><td>5</td><td>How many levels to output on object dumps</td></tr></tbody></table>

<figure><img src="/files/xJtY8B7wPQiqBeiCx4as" alt=""><figcaption></figcaption></figure>


---

# 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://cbdebugger.ortusbooks.com/collectors/collections.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.
