it's a 'love-hate' relationship in trouble-shooting when you find out it's a simple mistake and not a big misunderstanding with the proper coding:
you're glad (love) it was just a small stupid simple typo mistake, but you're furious (hate) that it took so much effort and~or time in finding it, for being something so simple and stupid as a typo (you wish for the effort, that it was some much bigger mistake, that you'd hopefully be able to fix...), laughs.
when you're able to trouble-shoot your coding well, then you know you're truly learning to code, laughs