Skip to content

debug-controller

Provides the interface for controlling debug output through namespace management.

Debug namespaces follow the pattern ‘lorem’, lorem:ipsum, lorem:ipsum:dolor, etc, and can use wildcards (*).

@example - lorem:* matches all submodules of ‘lorem’ - *:ipsum matches all plugins’ ipsum submodules - * matches everything

Special syntax: - Namespaces prefixed with ’-’ are explicitly disabled - Multiple namespaces can be combined with commas: lorem,-lorem:ipsum,dolor:*

@see https://mnaoumov.dev/obsidian-dev-utils/guides/debugging/

InterfaceDescription
DebugControllerControls debug output by managing debug namespaces. Exposed globally as window.DEBUG.