calibre-debug [options]
Run an embedded python interpreter.
Whenever you pass arguments to calibre-debug that have spaces in them, enclose the arguments in quotation marks.
Add a simple plugin (i.e. a plugin that consists of only a .py file), by specifying the path to the py file containing the plugin code.
Run python code.
Debug the specified device driver.
Run the python code in file.
Run the GUI with debugging enabled. Debug output is printed to stdout and stderr.
Run the GUI with a debug console, logging to the specified path. For internal use only, use the -g option to run the GUI in debug mode
show this help message and exit
Inspect the MOBI file(s) at the specified path(s)
Migrate old database. Needs two arguments. Path to library1.db and path to new library folder.
Output the paths necessary to setup the calibre environment
Run python console
Re-initialize the sqlite calibre database at the specified path. Useful to recover from db corruption. You can also specify the path to an SQL dump which will be used instead of trying to dump the database. This can be useful when dumping fails, but dumping with sqlite3 works.
Display the specified log file. For internal use only.
Test binary modules in build
Tweak the book (exports the book as a collection of HTML files and metadata, which you can edit using standard HTML editing tools, and then rebuilds the file from the edited HTML. Makes no additional changes to the HTML, unlike a full calibre conversion).
show program’s version number and exit
Run the ebook viewer