When I make a property change to a non-existent object via Tampermonkey, I don't get an error message in the console, the script just doesn't continue to run, making troubleshooting difficult.
This one, for example, would generate an error if run directly in the console, but not if I ran it to a Tampermonkey script:
document.querySelector("#not-existing-id").style.display="none";
Logging Level is set to warning.
What can I do to see the error?