Everyone uses console.log all the time, but if you want to look smarter 🧠 when doing pair programming or sharing your screen, here’s a Chrome’s debugger video. Thank me later 😉
Jokes aside, unless you really just need to peek at one value, using the debugger gives you much more context and awareness while debugging your application… and you won’t end up having 7 logs here and there flooding the console.
With Chrome you don’t even need to setup anything. It just works, and you get for free features like conditional breakpoints, watching values, and if you really like logs… you have logpoints!
_______________________________
Hit like and subscribe for more content! :D
Join the Discord community! Here's the invite: https://discord.gg/bqwyEa6We6
You can also follow me on the other platforms:
Twitter: https://twitter.com/Balastrong
dev.to: https://dev.to/balastrong
Home: https://leonardomontini.dev/
TikTok: https://www.tiktok.com/@balastrong
GitHub: https://github.com/Balastrong
Instagram: https://www.instagram.com/devbalastrong/
_______________________________
Sound effects from https://www.zapsplat.com
#debugging #devtools #javascript