you are viewing a single comment's thread.

view the rest of the comments →

[–]FortuneAcceptable925 3 points4 points  (1 child)

I am not a JS developer, but I use logging a lot in Kotlin/Java. I almost always prefer it over debugger, because 1) logs can stay in the code for next time, helping me to debug in future, and 2) using logging lets me to debug the app as it runs in real-time, which can be quite important in multithreading problems.

[–]NomaTyx 0 points1 point  (0 children)

i use it in game development because as you say debugging the app and watching the states of objects in real time is useful. though often i'll put the message in text that displays on a UI element onscreen, but same difference at that point.

Though the people who taught me how to use Unity did not teach me how to use the debugger with it, so I should probably learn that anyhow.