Debug environment-specific failures
Work through a systematic checklist to isolate failures that only appear in staging or production. Covers env vars, dependencies, OS paths, and load-related timing.
Preview
Copy prompt
This code works correctly in development but fails when deployed to [staging / production]: [Paste the code and the error]. Walk me through a systematic diagnostic checklist covering environment variable differences, dependency version mismatches, OS-specific file path handling, timing differences under real load, and network configuration divergences between environments. Identify the most likely root cause and provide the fix.
More
Debugging
Prompts
