what is the impact of leaving console.log() in widget code? #2302
Unanswered
espruino-discuss2
asked this question in
Bangle.js
Replies: 2 comments
-
Posted at 2021-01-15 by AkosLukacs Nope, those messages have to go somewhere, and may cause issues. Or will print the console messages on the screen (might not be visible, because it's overwritten by other code, but might cause visible problems) |
Beta Was this translation helpful? Give feedback.
0 replies
-
Posted at 2021-01-15 by @gfwilliams Well, yes and no...
Basically I'd leave them out if you can. What you could do is do |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Posted at 2021-01-14 by HughB
Obviously for production probably best to remove any console.log() entries inside widget.js code.
What is the impact when not connected through the IDE of leaving console.log() calls in place ?
Does the watch just detect that no IDE is connected and just ignore them ?
Beta Was this translation helpful? Give feedback.
All reactions