Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
kamen69844y@N00bPancakes Chrome or VSCode's debugger, breakpoints wherever you need them, and when execution stops, you just inspect the context instead of logging it; also direct log points instead of breakpoints. Still, nothing wrong with console log as long as you don't forget extraneous logs after you're done with them. Whatever works for you - a console log might be more indicative i.e. if you suspect a method is called more times that needed.
-
theuser48024yUnless I need to debug some more heavy logic (which there usually aren't), I don't like the idea of stopping mid-execution. (mostly because of hot reloading) Just run the damn thing and log out the results for me, you can even use tools in order to label and color code stuff.
-
rocktim4604y@linus-torvald lol what a coincidence. I was just watching Linus Torvald saying "fuck u" to Nvidia. 😅 lmao
-
kamen69844y@bug123 Lolwut you're right. Normally not only should the comments be removed, but also the code minified.
shut up Granny
joke/meme
meme/joke