debugging stuff Launch doit's debugging shell: from doit import tools tools.set_trace() Inspect HtmlElement nodes: (Pdb) p source_node.items()