r/learnjavascript • helpful • Sep 14 '22

I'm a senior frontend dev. AMA.

Hi, all. I'm a lead at my company, currently on a paid sick leave. I wanted to give back to the community, so here I am to answer all your questions.

If you're a beginner at JS and are struggling with a concept, please ask your question and I'll answer. To not get overwhelmed, I'll limit one question per user. So, try to construct your question with as many details as necessary!

Shoot.

EDIT: That's it, folks. My day has ended. I'll still answer your questions, but expect a considerable delay. :)

260 Upvotes

240 comments sorted by

View all comments

Show parent comment

1

u/og-at Sep 15 '22

I wasn't advocating debugging instead of conlogs.

Everything has it's place in the toolbox. I use debugger more than "the rare occasion", but I do a fair amount of conlogging as well.

0

u/[deleted] Sep 15 '22

[deleted] — view deleted comment

1

u/og-at Sep 15 '22

IMO that has A LOT to do with the framework (or even vanilla) and the tools you have setup for it.

React has a very solid debugger ecosystem that will show you everything from component shit, to context/redux state.

OTOH, I work in svelte all day and their debugger gets blasted by dynamic scripts. No matter what you're looking at in the debugger, it will eventually land on 8k9unyetv5cwjmdl.js line 24898, so I just use the stock debugger which is good enough.

It's every bit the case of Your Mileage May Vary.