Other options are the use of the Chrome JavaScript Error Notifier extension. To install it in Firefox, you first need to install another Chrome Store Foxified extension in which you can install any Chrome extension from Chrome Web Store in Firefox. You can follow the Chrome Store Foxified instructions to install extensions. (Note that not all Chrome extensions will work in Firefox.)
If you want to constantly install the Chrome extension, you will need to sign up for Mozilla to get the added subscription.
If the JavaScript Errors Notifier browser extension is successfully installed in Firefox, you will see an icon located at the right end of the address bar. 
And when there is a JavaScript error on the page, the icon will turn red. For error details, click on the icon. The extension has several error settings that you want to receive.
source share