Tag

#debugging

9 prompts
Add Diagnostics Before Guessing

Instrument first, theorize second — logging with a stated plan for capturing the failure.

Bisect a Regression

Walk the history between a known-good commit and main to find the culprit diff.

Debug a Performance Problem

Find the N+1s, blocking calls, and hot loops, ranked by impact-per-effort.

Fix a Bug Without Breaking Things

Find every affected code path and the same bug elsewhere before landing the minimal fix.

Reproduce an Intermittent Bug

Rank the likely causes of a flaky bug and get a deterministic way to reproduce the top one.

Reproduce, Then Fix

Force a failing test that captures the bug before any fix is allowed to land.

Trace Data Flow

Follow a value through every function that touches it, with side effects and an ASCII flow diagram.

Rubber Duck Debugging

Explain your code out loud and let the AI catch where your logic and the code disagree.

Debug This Error

Get a clear root-cause explanation and the smallest fix for an error.