$ recombobulate _
~/recombobulate $ tip --list --tag="debugging"

// 39 tips tagged "debugging"

0
Ask "Why Did This Fail?" Instead of "Fix This Error"

Paste error messages with "why did this fail?" instead of "fix this" to get Claude to diagnose the root cause before applying a fix.

recombobulate @recombobulate · 1 month ago
98
Ask Claude for a "What Could Go Wrong" List Before You Ship

After Claude finishes a task, ask it to list everything that could go wrong before you ship for a free second review that catches edge cases.

recombobulate @recombobulate · 1 month ago
240
Ask Claude to Harden Your Happy-Path Code by Adding Error Handling for Every Failure Mode

Most code is written for the happy path — everything works, data exists, APIs respond, and inputs are valid. Tell Claude to read your code and add error handling for every failure mode — null values, network timeouts, invalid data, missing config, and unexpected states — so your app degrades gracefully instead of crashing.

recombobulate @recombobulate · 1 month ago
161
Ask Claude to Find and Fix the Performance Bottleneck in a Slow Endpoint

When a page takes five seconds to load or an API endpoint times out under load, tell Claude which route is slow and it traces the entire code path — controller, services, queries, loops — identifying N+1 queries, redundant computations, missing indexes, and cacheable operations, then fixes each bottleneck.

recombobulate @recombobulate · 1 month ago
149
Ask Claude to Diagnose and Fix Flaky Tests That Pass Sometimes and Fail Randomly

Flaky tests are maddening — they pass locally, fail in CI, pass again when you retry. Tell Claude to read the test, identify the source of non-determinism — timing issues, shared state, date dependencies, or order-dependent setup — and fix the root cause so the test is reliably green or reliably red.

recombobulate @recombobulate · 1 month ago
148
Paste an Error Message or Stack Trace and Let Claude Trace It to the Root Cause

When your app throws an error, don't just Google the message — paste the full stack trace into Claude Code. It reads the trace, opens the referenced files in your codebase, follows the call chain, and pinpoints the actual root cause instead of just explaining the symptom.

recombobulate @recombobulate · 1 month ago
127
Drop Screenshots into Claude Code to Debug Visual Issues and Read Error Messages

Claude Code can see images — paste a screenshot of a broken UI, a confusing error dialog, terminal output, or a design mockup and Claude reads it visually, understands the context, and helps you fix the problem or implement the design without you having to transcribe anything.

recombobulate @recombobulate · 1 month ago
88
Ask Claude to Add Strategic Log Statements at Key Decision Points for Production Debugging

Tell Claude to read your business logic and add log statements at the important decision points — where conditions branch, where external calls happen, and where data transforms — so when something goes wrong in production, the logs tell you exactly where and why.

recombobulate @recombobulate · 1 month ago
189
Ask Claude to Map Your Dependency Graph and Find Tightly Coupled Modules

Tell Claude to trace every import and dependency across your codebase, then show you which modules depend on which — spotting circular dependencies, God modules everything imports, and tightly coupled layers that should be independent.

recombobulate @recombobulate · 1 month ago
66
Ask Claude to Find Inconsistencies Between Related Files That Should Match

Tell Claude to check that related files are in sync — models match their migrations, forms match the APIs they submit to, TypeScript types match the backend responses, and config matches what the code actually references. When they drift apart, bugs hide in the gaps.

recombobulate @recombobulate · 1 month ago
205
Run /doctor to Diagnose Configuration and Connection Issues

When Claude Code isn't working right — MCP servers failing, authentication errors, or unexpected behavior — run /doctor to get a diagnostic report that checks your configuration, API connection, installed tools, and settings across all scopes so you can pinpoint what's wrong.

recombobulate @recombobulate · 1 month ago
85
Paste a Slow Query's EXPLAIN Output and Let Claude Optimize It

When a specific query is slow, run EXPLAIN on it and paste the execution plan into Claude — it reads the plan, spots full table scans, bad join orders, and missing indexes, then rewrites the query and suggests schema changes to make it fast.

recombobulate @recombobulate · 1 month ago