# startDebugTraceRecording

Description: startDebugTraceRecording cheatcode documentation

Note: This document was authored using MDX

  Source: https://github.com/NomicFoundation/hardhat-website/tree/main/src/content/docs/docs/reference/cheatcodes/Environment/start-debug-trace-recording.mdx

### Signature

```solidity
function startDebugTraceRecording() external;
```

### Description

Records the debug trace during the run.
