---
title: Debug Subscription Request
description: "Play 0x17, client → server."
---

`play` · `0x17` · **serverbound** (client → server)

Subscribes to server-side debug data streams (for example entity paths, POI, brains, or game test blocks). `subscriptions` is a list of debug subscription types. The server only honours it for players with the required permission and then sends matching debug packets.

Sent by the client, read by the server. Listen for it with `client.on("DebugSubscriptionRequest", (data) => …)` on the receiving side.

## Fields

| Field | Type | Notes |
|---|---|---|
| `subscriptions` | Array |  |

## Send it

```ts
await client.sendPacket("DebugSubscriptionRequest", {
  subscriptions: /* Array */,
});
```

Field aliases listed under Notes are accepted as alternative keys when writing.

Source: [`src/Core/Versions/776/Packets/play/serverbound/DebugSubscriptionRequest.ts`](https://github.com/GDLev/mc-protocol/blob/master/src/Core/Versions/776/Packets/play/serverbound/DebugSubscriptionRequest.ts)
