---
title: "DebugEvent"
---

Debug event emitted when debug.echo_upstream_body is true. Contains the transformed upstream request body or timing milestones.


## Fields

| Field                                                        | Type                                                         | Required                                                     | Description                                                  |
| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ |
| `debug`                                                      | [components.Debug](../components/debug.mdx)                   | :heavy_check_mark:                                           | N/A                                                          |
| `sequence_number`                                            | *int*                                                        | :heavy_check_mark:                                           | N/A                                                          |
| `type`                                                       | [components.DebugEventType](../components/debugeventtype.mdx) | :heavy_check_mark:                                           | N/A                                                          |