Prompt Foundry Prompt guides

Prompt type Debugging

Debugging
prompt generator.

Generate debugging prompts that demand reproducible evidence, root-cause analysis, minimal fixes, and regression tests.

When to use it

Use this prompt type for incorrect behavior, crashes, race conditions, memory leaks, failing builds, flaky tests, or production incidents.

What the prompt specifies

Expect reproduction steps, observed-versus-expected behavior, ranked hypotheses, evidence, the smallest safe fix, and verification steps.

Strong starting idea

Diagnose why an Express process grows by 200 MB per hour under websocket traffic and provide a regression test for the confirmed leak.

Refine the result

Add edge cases and error handling when the failure involves concurrency, retries, timeouts, or partial outages.

Compile your debugging prompt

Start with one sentence. You can edit, refine, compare, copy, and export the result.

Open generator