Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (13 sloc) 448 Bytes

Debugging

Two tools are provided to debug issues with your registry:

  • the :doc:`logger logs</logging>` everything (and it likes to log malicious users too),
  • the url provides a live rule registry browser (see below).

As usual, resort to ipdb, for example in rules_light.RuleRegistry.run() place:

import ipdb; ipdb.set_trace()

The registry browser

.. automodule:: rules_light.views
   :members: