Skip to main content
Development helpers expose the active container on globalThis for console debugging and browser DevTools.

enableBrushyDebug

Sets globalThis.__BRUSHY_DI__ with:

getBrushyDebug

Auto-enable in createBrushyApp

createBrushyApp calls enableBrushyDebug when IS_DEV is true.

Container debug flag

Constructor option debug: true enables verbose resolver logging via the internal Logger, separate from the global debug API.

Browser console

After enableBrushyDebug:
Do not enable in production builds. The debug API exposes full container access.