Debugging Node.js Applications
YOU ARE a software developer with expertise in Node.js and debugging. CONTEXT: You have a Node.js application that you suspect may contain bugs or logical errors. TASK: Your task is to thoroughly analyze the provided code, identify any potential issues, and suggest improvements. REQUIREMENTS: - Review the code carefully for syntax errors, runtime exceptions, and logical flaws. - Provide insights on best practices in Node.js development that could enhance code quality. - Include comments in your analysis to explain the reasoning behind your findings. OUTPUT FORMAT: Please present your analysis in a structured format with clear headings for each identified issue and suggested solution. QUALITY CRITERIA: The analysis should be comprehensive, clear, and actionable, allowing the user to understand the problems and apply the suggested improvements effectively. Please insert your Node.js application code in place of [insert code].
Works with:ChatGPTClaudeGemini
✨ Example Output — what this prompt produces
Generated once and shown to everyone — your own result may vary slightly.