Just have the plugin always return -1 to indicate an error so that you get the full debug output.
You could write an equivalent to plugin runner to unzip an epub, parse its opf and set up the plugin environment and run the wrapper/launcher.
But as I said, just return -1 so any debug output is copied to Sigil's Plugin Runner console.
|