Debug with Copilot Chat
Giving Copilot the exact error, file reference, caller context, and what changed recently narrows the search space dramatically. Asking for ranked causes prevents the model from fixating on the first plausible explanation.
I'm getting this error in #file:{{filePath}} at line {{lineNumber}}: \`\`\` {{errorMessage}} \`\`\` Context: - This function is called by {{callerDescription}} - The input data comes from {{dataSource}} - It worked before {{whatChanged}} Diagnose the root cause. Explain why it's happening, then provide a fix. If there are multiple possible causes, list them ranked by likelihood.
Variables to customize
Why this prompt works
Giving Copilot the exact error, file reference, caller context, and what changed recently narrows the search space dramatically. Asking for ranked causes prevents the model from fixating on the first plausible explanation.
What you get when you save this prompt
Your workspace unlocks powerful tools to iterate and improve.
AI Optimization
One-click improvement with structure analysis and pattern suggestions.
Version History
Track every edit. Compare versions side-by-side with word-level diffs.
Folders & Tags
Organize your library with nested folders, tags, and drag-and-drop.
$ npm i -g @promptingbox/mcpUse Everywhere
Access prompts from Claude, Cursor, ChatGPT & more via MCP integration.
Your prompts, organized
Save, version, and access your best prompts across ChatGPT, Claude, Cursor, and more.