Debug Mode and plugins
Can a plugin tell if it is running in debug mode?
I am having a problem with Broken Pipe on print statements when not in debug mode, and one solution would be to only execute the print statements in debug mode.
But I don't know whether a plugin can tell which mode calibre is in.
|