Debugging by Feeling
You know what they say: "Debugging is 10% logic and 90% guessing." But what if you're not sure what you're looking for? What if you're just feeling your way through the code?
That's where Trust Your Gut comes in.
The Code:
// This is some example code with a few errors
var errors = {
'error1': 'Something is wrong',
'error2': 'I have no idea what this means',
'error3': 'I just want it to work'
};
// Try to fix it by feeling your way through
// ...
Don't worry, it's all in the Feelings and Pseudoscience chapter.
Take a deep breath and just Tap It Out.