cm0002@sh.itjust.works to Programmer Humor@programming.dev · 2 days agoMadness or brilliancefeddit.orgimagemessage-square33linkfedilinkarrow-up1446arrow-down14
arrow-up1442arrow-down1imageMadness or brilliancefeddit.orgcm0002@sh.itjust.works to Programmer Humor@programming.dev · 2 days agomessage-square33linkfedilink
minus-squareandyburke@fedia.iolinkfedilinkarrow-up29·2 days agoI console.dir and debugger; and breakpoint all day. You are allowed to mix your strategies.
minus-squarenull_dot@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up24·2 days agoconsole for quick and dirty understanding but inspector for more complex fixes.
minus-squareOmgpwnies@lemmy.worldlinkfedilinkEnglisharrow-up2·21 hours 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
minus-squaremarlowe221@lemmy.worldlinkfedilinkEnglisharrow-up10arrow-down1·2 days agoThis right here. Time and place for both.
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.
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 changesThis right here. Time and place for both.