View Single Post
Old 04-19-2016, 01:54 AM   #1
apprenticeharper
Apprentices Against DRM
apprenticeharper ought to be getting tired of karma fortunes by now.apprenticeharper ought to be getting tired of karma fortunes by now.apprenticeharper ought to be getting tired of karma fortunes by now.apprenticeharper ought to be getting tired of karma fortunes by now.apprenticeharper ought to be getting tired of karma fortunes by now.apprenticeharper ought to be getting tired of karma fortunes by now.apprenticeharper ought to be getting tired of karma fortunes by now.apprenticeharper ought to be getting tired of karma fortunes by now.apprenticeharper ought to be getting tired of karma fortunes by now.apprenticeharper ought to be getting tired of karma fortunes by now.apprenticeharper ought to be getting tired of karma fortunes by now.
 
apprenticeharper's Avatar
 
Posts: 46
Karma: 9787852
Join Date: Feb 2015
Location: UK
Device: Asus Laptop
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.
apprenticeharper is offline   Reply With Quote