CALIBRE-DEBUG(1) calibre CALIBRE-DEBUG(1) NAME calibre-debug - calibre-debug calibre-debug [Eo] Various command line interfaces useful for debugging calibre. With no options, this command starts an embedded Python interpreter. You can also run the main calibre GUI, the calibre E-book viewer and the calibre editor in debug mode. It also contains interfaces to various bits of calibre that do not have dedicated command line tools, such as font subsetting, the E-book diff tool and so on. You can also use calibre-debug to run standalone scripts. To do that use it like this: calibre-debug -e myscript.py -- --option1 --option2 file1 file2 ... Everything after the -- is passed to the script. You can also use calibre-debug as a shebang in scripts, like this: #!/usr/bin/env -S calibre-debug -e -- -- Whenever you pass arguments to calibre-debug that have spaces in them, enclose the arguments in quotation marks. For example: "/some path/with spaces" [EIO] --add-simple-plugin o o (.. o o o o o .py), oo o o o o py o o o o. --command, -c E Python. --debug-device-driver, -d Ao --default-programs (Ao) o calibre o o Windows. --default-programs = (register|unregister) --diff E o o o o calibre. : calibre-debug --diff file1 file2 --edit-book Launch the calibre "Edit book" tool in debug mode. As with -g use -- to pass command line arguments. --exec-file, -e E Python o. --explode-book, -x A o o o oo o. X: -x o.epub o_ E o o o HTML o, oo o HTML. o EPUB, AZW3, HTMLZ DOCX. --export-all-calibre-data E o o calibre (//plugins). Ko, o o o o o . Mo o o o . Xoo o o o o. H - "all" o oo o. : calibre-debug --export-all-calibre-data # calibre-debug --export-all-calibre-data /path/to/empty/export/folder /path/to/library/folder1 /path/to/library2 calibre-debug --export-all-calibre-data /export/folder all # o --gui, -g Run the GUI with debugging enabled. Debug output is printed to stdout and stderr. To pass command line arguments use -- followed by the arguments, for example: calibre-debug -g -- /path/to/ebook --gui-debug E o GUI o oo , o. o, oo o -g o GUI oo --help, -h E o o oo --implode-book, -i o o oo. X: -i output_dir file.epub E o o o o output_dir, o ooo o oo --explode-book. E o o o o o o oo . --import-calibre-data E oo o o o Calibre --inspect-mobi, -m o o() MOBI o o --kepubify M o oo o EPUB KEPUB o. A o o o Kobo . --paths E o o o oo calibre --run-plugin, -r E plugin o o. : calibre-debug -r "Plugin name" -- file1 --option1 ooo o -- o o o o. --run-test, -t E / oo o. Xoo "all" o. E o o o , o . E o o o @, o o. --run-without-debug M DEBUG --shutdown-running-calibre, -s o o o o calibre, ,. o o , oo , o oo o oo. --subset-font, -f Yooo o o. Xoo -- o o o oo o. --test-build o o --un-kepubify M o oo o KEPUB EPUB o. A o o o Kobo . --version o o o oo --viewer, -w Run the E-book viewer in debug mode. As with -g use -- to pass command line arguments. Author Kovid Goyal Copyright Kovid Goyal 9.14.0 Aoo 28, 2026 CALIBRE-DEBUG(1)