Solidly Stated - debugging can feel like a never ending maze. You write the code, it looks fine, but something…