DEBUG methods
The DEBUG API methods allow you to inspect and debug the network.
The DEBUG API is a more verbose alternative to the TRACE API, and its main purpose is compatibility with tools such as Remix.
Where these APIs overlap, we recommend using the TRACE API for production use over the DEBUG API.
Specifically, we recommend trace_block over debug_traceBlock, and trace_transaction over debug_traceTransaction.
note
The DEBUG API is not enabled by default for JSON-RPC.
Enable it using the --rpc-http-api or --rpc-ws-api option.
The DEBUG methods are grouped into the following pages.
Trace
Trace transactions, blocks, and calls.
debug_standardTraceBlockToFiledebug_standardTraceBadBlockToFiledebug_traceTransactiondebug_traceBlockdebug_traceBlockByHashdebug_traceBlockByNumberdebug_traceCall