From 7119fee96350afd5c81a1cbc0187282ebf81eadd Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 15 Jul 2022 21:18:21 +0200 Subject: [PATCH] lua-filters.md: Add link to @wlupton's logging.lua. Closes #8146. --- doc/lua-filters.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/lua-filters.md b/doc/lua-filters.md index 88bcf7043..5f533ecfe 100644 --- a/doc/lua-filters.md +++ b/doc/lua-filters.md @@ -395,6 +395,12 @@ colon syntax (`mystring:uc_upper()`). # Debugging Lua filters +William Lupton has written a Lua module with some handy +functions for debugging Lua filters, including functions +that can pretty-print the Pandoc AST elements manipulated +by the filters: it is available at +. + It is possible to use a debugging interface to halt execution and step through a Lua filter line by line as it is run inside Pandoc. This is accomplished using the remote-debugging interface of the