It seems that Greasemonkey scripts in FF will only silently fail when errors are encountered. The script stops executing upon error, but unlike normal no error messages appear in the console. I'm reduced to littering the code with console.log() and guessing where the error is.
This prints "before" but not "after":
console.log("before");
// swallowed
syntax $% (error[;
console.log("after");
How can I get Greasemonkey script errors to show up in the console?
(or any solution better than throwing console.log() everywhere)
Using FF 42.0 and Greasemonkey 3.5