---
title: "Return a debug attachment"
method: POST
path: "/debugrequest"
tags: ["debugrequest"]
---

# Return a debug attachment

`POST /debugrequest`

Return a debug attachment

## Request body

- DebugRequest
  - `metadata` ObjectMeta
    - `name` string
    - `version` string
  - `spec` DebugRequestSpec, required
    - `image` string, required
    - `debugger` string, required
    - `process_name` string
  - `status` DebugRequestStatus
    - `debug_attachment_ref` string

## Response `201`

Created

- DebugRequest
  - `metadata` ObjectMeta
    - `name` string
    - `version` string
  - `spec` DebugRequestSpec, required
    - `image` string, required
    - `debugger` string, required
    - `process_name` string
  - `status` DebugRequestStatus
    - `debug_attachment_ref` string

## Changes

- **2017-12-05** `96bf67aa2c37` — 1 info
  - endpoint added
- **2017-08-22** `7d244be4e5ca` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/solo-io/apis/squash-server/changes/debugrequest/post.md)

---

[API](https://skmtc.dev/solo-io/apis/squash-server.md) · [All operations](https://skmtc.dev/solo-io/apis/squash-server/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/solo-io/squash-server/revisions/03ddbf850d54/schema)
