15
The moment I stopped skipping debugging tools and actually used one
For two years I thought breakpoints were just something advanced coders used to look cool, so I only used print statements everywhere. Last week my code had a weird loop issue and I spent 4 hours reading console logs before my friend made me watch him step through it in VS Code. Has anyone else avoided a tool for way too long because it looked intimidating and then realized it was actually easier?
2 comments
Log in to join the discussion
Log In2 Comments
jaken2328d ago
My friend showed me breakpoints three years ago and I still default to print statements half the time because they feel more direct... I get why stepping through code can be useful though, it just feels slower to me when I'm trying to figure out a simple bug. All those extra clicks and setting watches don't always save time compared to just reading through a few console.logs in my experience.
3