DEV Community

Discussion on: What is your debugging approach?

Collapse
 
damcosset profile image
Damien Cosset

1- Panic
2- Question my ability to do shit as a developer
3- Calm down, start to look at the logs
4- Start spamming console.log()
5- Rage because there are too many console.log to keep track
6- If bug is complicated, get back to 1)
7- Making progress, adding a fix
8- Commit/push
9- Realize some other part is broken because of the fix
10- Back to 1)
11- Around 6PM, throw my hands in the air, yell "Fuck this shit", and leave.
12- Around 9AM the next morning, realize it was a typo.

Collapse
 
kleene1 profile image
kleene1

Yeh..lol haha 😄

Collapse
 
codingmindfully profile image
Daragh Byrne

12, every bloody time!!

Collapse
 
momobarro profile image
momo-barro

your answer made my day :'‑) :'‑) :'‑)

Collapse
 
rioma profile image
Mario

Start spamming console.log()

console.log('here1');
console.log('here2');
console.log('here3');
console.log('blabla');
console.log('bananas');
console.log('hmmm');

Collapse
 
damcosset profile image
Damien Cosset

I feel you! I'm more of a:

console.log('HI')
console.log('HELLO')
console.log('HHEEEEEEYYYYY')

kind of dev, but I see where you're coming from :D

Collapse
 
zoso1166 profile image
zoso1166

Dude, I read this and left for like 10 minutes !! Thanks for making my day 😁