Stop Using console.log()!
TLDRconsole.log() forces you to select which information to log before the debugging consciously. What you display in the first place is not sufficient or even completely irrelevant sometimes. You usually don’t yet have any idea of what’s going on. As a workaround, you will need to either clone the information or serialize snapshots of it.
Table of contents
#1 Missing contextual information#2 Too much information#3 Untrustworthy information17 Comments
Sort: