cm0002@sh.itjust.works to Programmer Humor@programming.dev · 4 days agoMadness or brilliancefeddit.orgimagemessage-square43linkfedilinkarrow-up1509arrow-down16
arrow-up1503arrow-down1imageMadness or brilliancefeddit.orgcm0002@sh.itjust.works to Programmer Humor@programming.dev · 4 days agomessage-square43linkfedilink
minus-squareandyburke@fedia.iolinkfedilinkarrow-up33·4 days agoI console.dir and debugger; and breakpoint all day. You are allowed to mix your strategies.
minus-squarenull_dot@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up25·4 days agoconsole for quick and dirty understanding but inspector for more complex fixes.
minus-squaremarlowe221@lemmy.worldlinkfedilinkEnglisharrow-up10arrow-down1·4 days agoThis right here. Time and place for both.
minus-squareOmgpwnies@lemmy.worldlinkfedilinkEnglisharrow-up3·3 days agoand the one that keeps getting slept on for some reason, watch breakpoints - stop when foo is changed. Great for figuring out what is screwing with your data when foo mysteriously changes
I console.dir and debugger; and breakpoint all day. You are allowed to mix your strategies.
console for quick and dirty understanding but inspector for more complex fixes.
This right here. Time and place for both.
and the one that keeps getting slept on for some reason, watch breakpoints - stop when
foo
is changed. Great for figuring out what is screwing with your data whenfoo
mysteriously changes