LaurentRDC / pandoc-plot

Render and include figures in Pandoc documents using your plotting toolkit of choice
https://laurentrdc.github.io/pandoc-plot/
GNU General Public License v2.0
216 stars 8 forks source link

Debugging output when subprocess errors... #64

Open mgajda opened 10 months ago

mgajda commented 10 months ago

Currently pandoc-plot shows the script when the program errors. Showing the error output instead would make it much faster to debug: one can just use pandoc as a single WYSIWYG debugging environment, which shows errors whenever output is unsatisfactory.

If this change of behaviour is puzzling, we can add debug option, but I suggest that it should be the default for easy debugging.

mgajda commented 5 months ago

@LaurentRDC Do you think current output is satisfactory? If not, is this something that may help and is worth implementing? Is the description clear enough?