Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
Voxera91194yWell. If you have a console to write to it is one way that often works.
Often use it when I have no other information.
Preferably with some relevant output that could catch errors not including code not running, like finding out where a list suddenly is empty.
But if a console is not available I have started using redis pub/sub for similar output and it actually is very helpful when debugging is impractical.
10may9524yIf it's stupid but it works then it ain't stupid :P
when debugger is not na option, writing things on console is one of the methods that i would use..
That's what I usually do!
I tried using a debugger several times but I find it less intuitive than printfs in good spots.. I have yet to learn how to efficiently use a debugger maybe
Um. That's actually right.
I don't know... This is usually my last resort, but... I have used it in a LOT of occasions. It is not an efficient way of finding errors ( overhead of writing additional code on almost every other line) but it does work...
boom5514yLogs are awesome. Took me a while til i got to respect them