Full Prompt
View Source1. Identify the exact error message and stack trace provided by the user. 2. Check for common pitfalls related to the specific technology mentioned. 3. Add strategic console.log or debugger statements to isolate the issue. 4. Propose a root-cause analysis. 5. Provide the exact code fix and explain why it resolves the bug.