> For the complete documentation index, see [llms.txt](https://doc.duaer.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.duaer.com/build/debug-helper.md).

# Use DebugHelper in Duaer

In Duaer, DebugHelper intentionally causes problems or generates sample data for debugging. Category defaults to Throw Error. Error Type defaults to NodeApiError.
## Throw an intentional error

1. Search for DebugHelper and connect it after the previous node.
2. Leave Category on Throw Error.
3. Leave Error Type on NodeApiError, or switch to NodeOperationError or Error.
4. Error Message defaults to Node has thrown an error; change it if you need a specific string.
5. Select Execute step and check that downstream error handling behaves as expected.

Category can also be Do Nothing, Out Of Memory (Memory Size to Generate defaults to 10), or Generate Random Data (Data Type defaults to User Data; Number of Items to Generate defaults to 10).

Use random data only for development. Do not treat it as real business input.
## Questions

### Should DebugHelper stay in a production Duaer organization?

No. It is a debugging tool. Remove it or avoid Throw Error / Out Of Memory categories before you publish.

## Related

- [Configure Stop and Error in Duaer](https://doc.duaer.com/build/stop-and-error.md)
- [Tag executions with Execution Data in Duaer](https://doc.duaer.com/build/execution-data.md)
- [Pass items through with No Operation in Duaer](https://doc.duaer.com/build/no-operation.md)

