Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Are you lamenting that you reach for `console.log` first, instead of using the `debugger` statement, or are you wishing there was a `debugger` statement, because there absolutely is a `debugger` statement. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...


I'm lamenting that I reach for console.log first and then regret it. Every single time.


Huh, why do you think you do that? Do you forget about the debugger statement, or is there some other reason you think console logging might work well?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: