💻 Coding & Development Prompts

Python, JavaScript, SQL, debugging, API

← All Categories
1 prompts in Debugging

Debug This Code - Common Patterns

coding Debugging Beginner
Act as a senior developer. I will paste code that has a bug. For each bug you find: 1) Identify the exact line and the issue, 2) Explain WHY it is a bug (not just what), 3) Show the fix, 4) Explain how to prevent this type of bug in the future. If there are multiple issues, rank them by severity. Also suggest any code quality improvements even if they are not bugs.
💡 Paste your code after this prompt. Include error messages if you have them.