Investigation Toolkit Debug issues through systematic search and AI-powered analysis. Prerequisites Search Commands ripgrep Basics Finding Definitions Tracing Usage Investigation Patterns Bug Investigation Trace Execution Flow AI-Assisted Debugging Hypothesis Testing Common Investigations Find All Error Handling Find API Endpoints Find Database Queries Find Configuration Find Security Issues Deep Investigation Script Best Practices 1. Start with the error - Search for exact message first 2. Expand context - Use , , for surrounding code 3. Check history - finds when code was introduced 4. Use…