pull down to refresh

Maybe everybody already knows and I am late to the party but in case there is somebody who didn't or keeps forgetting like me: Javascript has a debugger statement.
If you include it in your code and it gets hit, your browser will halt the execution and drop you into a debugger console you might be familiar with from other languages:
If you didn't know and exclusively relied on console.log to debug your web application—for example because NextJS still didn't include the fix to debug an app running in docker—this should blow your mind.
That fkin GitHub issue lol
reply
12 sats \ 0 replies \ @ek OP 26 Nov
in fact, it’s been so long that I even changed my gender in the meantime
reply
This is all for juniors. Seniors use the tru power of languages
reply
Good to know. But debugging in VS Code is still easier.
reply