Debug software failures systematically by reproducing, gathering evidence, narrowing hypotheses, and verifying fixes. Use when investigating bugs, failing tests, crashes, performance anomalies, flaky behavior, or when the user mentions debug / debugging / 排查 / 报错 / 失败.