learning to debug