> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chainstack.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Debug and trace | Plasma

> The debug and trace JSON-RPC methods provide advanced debugging capabilities for developers, including transaction tracing, call tracing, and raw data access.

Debugging and tracing on the Plasma blockchain can be done using the following methods:

<CardGroup cols={2}>
  <Card title="debug_getRawHeader" icon="angle-right" iconType="solid" href="/reference/plasma-debug-getrawheader" horizontal />

  <Card title="debug_getRawBlock" icon="angle-right" iconType="solid" href="/reference/plasma-debug-getrawblock" horizontal />

  <Card title="debug_getRawTransaction" icon="angle-right" iconType="solid" href="/reference/plasma-debug-getrawtransaction" horizontal />

  <Card title="debug_getRawReceipts" icon="angle-right" iconType="solid" href="/reference/plasma-debug-getrawreceipts" horizontal />

  <Card title="debug_traceCall" icon="angle-right" iconType="solid" href="/reference/plasma-debug-tracecall" horizontal />

  <Card title="trace_call" icon="angle-right" iconType="solid" href="/reference/plasma-trace-call" horizontal />

  <Card title="trace_callMany" icon="angle-right" iconType="solid" href="/reference/plasma-trace-callmany" horizontal />

  <Card title="trace_replayBlockTransactions" icon="angle-right" iconType="solid" href="/reference/plasma-trace-replayblocktransactions" horizontal />

  <Card title="trace_block" icon="angle-right" iconType="solid" href="/reference/plasma-trace-block" horizontal />

  <Card title="trace_get" icon="angle-right" iconType="solid" href="/reference/plasma-trace-get" horizontal />
</CardGroup>

This information can be used for:

* **Transaction debugging** — analyze transaction execution in detail
* **Smart contract analysis** — trace contract calls and state changes
* **Error investigation** — identify and fix transaction failures
* **Performance optimization** — analyze gas usage and execution paths
