Just wanted you guys’ opinion on debug logging.
Once in a while I find myself updating my project plugins or something, and something stops working.
Then I start adding console.debug
throughout the stack trace to find that some plugin has stopped resolving its Promise
.
I’m thinking to just leave those log statements, as they are suppressed by --prod
builds anyway. Then they might be helpful for debugging in the future. What’s your thoughts?