I am attempting to write a Lightning Web Component, but continually run into errors in my Javascript that I can't debug.
I've been trying to log my error but when I put console.log()
anywhere in the methods that are failing, I get the error:
Unexpected console statement.
console.log()
or sayalert()
statements for any debugging purposes (I can confirm this as I have used this in couple of my LWCs).