I wrote a little piece using environment variables that turns debugger on locally as well as different levels of logging in my code. It's been very helpful.
I used to use it all the time. Now I only use it when I have no sourcemaps (which is very rare). Other times I just add a breakpoint, which is way easier to manage.
95
u/tbicknell3 Mar 19 '19
debugger;