hutch_python.log_setup.debug_context¶
- hutch_python.log_setup.debug_context()¶
Context manager for running a block of code in
debug_mode.For example:
with debug_context(): buggy_function()
Context manager for running a block of code in debug_mode.
For example:
with debug_context():
buggy_function()