debuggingthunderbird

Debug logging in Thunderbird's userChrome.js


I'm trying to debug a custom javascript for Thunderbird that is defined in userChrome.js. Unfortunately I did not find a decent way to log to the javascript console. Is there an easy way to dump some information to an easily accessible console/logfile so that I can debug my script? I have console² installed and tried calling

throw Error("foobar");

already, without success.


Solution

  • Does Application.console.log("message") work?