Re: Interactively debugging a template with a REPL
Posted by
LightGuardjp on
Mar 13, 2016; 9:23pm
URL: https://discuss.asciidoctor.org/Interactively-debugging-a-template-with-a-REPL-tp4498p4501.html
You should be able to do this by starting PRY and requiring asciidoctor then run the necessary convert methods with the correct template options. You may also want to look into pry-byebug which will add gdb style debugging commands to pry.
On Sunday, March 13, 2016, obilodeau [via Asciidoctor :: Discussion] <
[hidden email]> wrote:
Awesome! I'll try and report back here.
On Sun, Mar 13, 2016 at 3:58 PM mojavelinux [via Asciidoctor :: Discussion] <
[hidden email]> wrote:
The debugger you're looking for is PRY. It's pretty amazing, though I have to admit I don't have much experience using it. I'd be thrilled to learn from your experience.
--
To unsubscribe from Interactively debugging a template with a REPL,
click here.
NAML
To start a new topic under Asciidoctor :: Discussion, email <a href="javascript:_e(%7B%7D,'cvml','ml-node%2Bs49171n1h37@n6.nabble.com');" target="_blank">ml-node+s49171n1h37@...
To unsubscribe from Asciidoctor :: Discussion,
click here.
NAML
--
Sent from Gmail Mobile