There is a mindset will guide you when debugging, this attempts to describe it, and then identify concrete ways that it led to decisions as a student and I performed a debugging.
We were working in a Rails application that was authenticating with github, and then getting a 401 error when asking for our repositories after getting the token.