I've ran into an unexpected error in my lightning component and am trying to figure out where its happening/what's causing it so I can fix it. I must have skipped this section when learning Salesforce development because I really have no idea how to set up debug logs and determine what line is causing the error. Its a complicated Apex Controller so I don't think I can just use the Execute Anonymous Window. Any tips out there on how to set up the logs and then view them to find the line causing the error?
Thanks!