Hi,

I am writing a Sphinx extension that builds Jupyter notebooks as a target.

We have the basic framework up and 
running: https://github.com/QuantEcon/sphinxcontrib-jupyter

I would like to speed up development by being able to understand the state 
of `nodes` in the node tree by dropping into `pdb` and inspecting the state 
of execution at a point in the extension (i.e. when entering the visit_only 
method). I have tried adding `import pdb; pdb.set_trace()` but it seems to 
be ignored. 

I have also tried using `sphinx.util.logger` but am unable to get this to 
work for printing information out to the console?

I have read:

http://www.sphinx-doc.org/en/master/man/sphinx-build.html
http://www.sphinx-doc.org/en/master/devguide.html#debugging-tips

but they didn't solve my problem. 

Here is an issue I have raised on the 
repo: https://github.com/QuantEcon/sphinxcontrib-jupyter/issues/89

Any recommendations / tips would be most appreciated. Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to