Interactively debugging a template with a REPL
Posted by obilodeau on Mar 13, 2016; 7:26pm
URL: https://discuss.asciidoctor.org/Interactively-debugging-a-template-with-a-REPL-tp4498.html
I would like to be able to interactively debug a template modification I am trying to make instead of putting puts statements all over the place and trying to reach the proper object.
Using the slim template engine.
In python this would look like this:
- import ipdb; ipdb.set_trace()
Then running the program from a shell I would get an interactive debugger in the context of where the line executed.
Ideally the debugger/REPL would have tab completion to make object hierarchy discovery faster.