For Mozilla WebExtensions, how do I get Javascript errors to show up in the console log?
I'm opening the developer tools for the appropriate tab. I run the code below in a WebExtension content script.
"use strict"
console.log("Load start.");
foofoofoo; // ***TEMP*** force error
The message "Load start." appears in the console for that tab, but there's no message for the error from the next line. I never seem to get any Javascript error messages from add-ons in the console. I can see them if I step through in the debugger, but can't just get an ordinary Javascript error message.