I am able to log to a file from the overlay: I have a console listener that write all logStringMessage to a file. But I cannot get this to work for content scripts injected in pages.
I have verified that all debug messages are logged to the console.
How can I redirect logStringMessage to a file from the content script inside Fennec extensions?