Event Tracking will allow you to see JS errors in real-time. Under
Real Time -> Events sections.
Unfortunately, your error messages will be limited by 500 Bytes, so you will not be able to understand a problem properly, however you will know that something is going wrong.
Exception Tracking will give you more detailed report, with full error message and browser information.
You can generate Exception Tracking report with Custom Reports.