cm0002@sh.itjust.works to Programmer Humor@programming.dev · 23 hours agoMadness or brilliancefeddit.orgimagemessage-square33linkfedilinkarrow-up1448
arrow-up1448imageMadness or brilliancefeddit.orgcm0002@sh.itjust.works to Programmer Humor@programming.dev · 23 hours agomessage-square33linkfedilink
minus-squareandyburke@fedia.iolinkfedilinkarrow-up29·22 hours agoI console.dir and debugger; and breakpoint all day. You are allowed to mix your strategies.
minus-squarenull_dot@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up24·21 hours agoconsole for quick and dirty understanding but inspector for more complex fixes.
minus-squareOmgpwnies@lemmy.worldlinkfedilinkEnglisharrow-up2·4 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-up10·21 hours 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.