Systematically diagnoses and fixes the root cause of a bug from an error message, stack trace, or failing test. Use whenever the user shares an error, a traceback, a crash, or says code "is not working" or "works locally but not in prod".