cherry.debug

General debugging utilities.

debug

debug(log_dir='./')

Enables some debugging utilities for logging and pdb.

Includes:

References

  1. Automatically start the debugger on an exception (Python recipe), Thomas Heller, 2001, Link
  2. Dealing with handlers that block, Python Documentation, 2019. Link

Arguments

Example

ch.debug.debug()
raise Exception('My exception')
-> raise('My exception')
(Pdb)