Trace execution flow through code to understand behavior
/plugin marketplace add boy-johnny/claude-toolkit/plugin install debug-toolkit@Dev-toolkitFunction, endpoint, or feature to traceTrace the execution flow through code to understand how a specific function, endpoint, or feature works.
Target to trace: $ARGUMENTS
Perform a comprehensive trace of the execution flow:
1. Find Entry Point
2. Trace Forward
3. Trace Data Flow
4. Map Dependencies
Provide a structured trace:
ENTRY POINT: [file:line] function_name(params)
│
├── [file:line] called_function_1(params)
│ ├── [purpose]: Brief description
│ ├── [returns]: What it returns
│ └── [side effects]: Any side effects
│
├── [file:line] called_function_2(params)
│ ├── [purpose]: Brief description
│ ├── [conditional]: If X then Y else Z
│ └── [external]: Database query / API call
│
└── EXIT: [return value or final state]
Include: