@hypertown to Programmer [email protected] • 7 months agoprint('butt')imagemessage-square25arrow-up1409arrow-down115
arrow-up1394arrow-down1imageprint('butt')@hypertown to Programmer [email protected] • 7 months agomessage-square25
minus-squareVictorlink16•7 months agoPro tip: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/debugger
minus-square@lightnegativelink3•7 months agoWow, and here I was trying to set breakpoints using the devtools debugger and faffing around with sourcemaps. Wish I knew about this 10 years ago!
minus-squareVictorlink1•7 months agoMy pleasure! Though I’m gonna be honest, I mostly use console.debug(). 😇
Pro tip: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/debugger
Wow, and here I was trying to set breakpoints using the devtools debugger and faffing around with sourcemaps.
Wish I knew about this 10 years ago!
Is it too late?! Are you still webdevvving? 😃
Damn, this looks handy. Thanks for sharing
My pleasure! Though I’m gonna be honest, I mostly use console.debug(). 😇