CSS Hooks
Documentation
Source on GitHub

Home > @css-hooks/core > Config > debug

Config.debug property

Whether to enable debug mode.

Signature:

debug?: boolean;

Remarks

When debug mode is enabled:

  1. The style sheet returned by the styleSheet function is pretty-printed.

  2. Extra white space is included in inline style declarations for improved readability.

  3. Hook identifiers (underlying CSS variables) are tagged with user-defined hook names.