config
This module provides configuration for the global debugger ndsl_debugger
When loading, the configuration will be searched in the global environment variable
NDSL_DEBUG_CONFIG
Configuration is a yaml file of the shape
stencils_or_class:
- stencil_name
- ClassName.orchestrated_method
- ClassName.__call__
track_parameter_by_name:
- name_of_variable
save_all_stencils: False
dir_name: ./my/local/path
save_compute_domain_only: False
Global variable
ndsl_debugger: Debugger accessible throughout the middleware, default to None
if there is no configuration
ndsl_debugger = _set_debugger()
module-attribute
Global NDSL debugger, set to None if NDSL_DEBUG_CONFIG is unset