dragotin / kraft

Kraft helps to handle your daily quotes and invoices in your small business.
http://volle-kraft-voraus.de
GNU General Public License v2.0
56 stars 18 forks source link

Feature-Request: Debugging mode for external print handler Weasyprint #156

Open noseshimself opened 2 years ago

noseshimself commented 2 years ago

Under certainconditions problems can only be analyzed using the debug output of Weasyprint. As Kraft is erasing the temporary html file quite fast it's hard to catch it.

Please add an option to get the Weasyprint input file (and the command line parameters) or add "-v -d" to the parameters and record the debug output. Probably copying the temporary file to the PDF output directory might be easier.

dragotin commented 2 years ago

Good idea. Thx.