Function toggleDebugFeature

  • Enable or disable a debug feature.

    Parameters

    • debugFeature: string

      The debug feature name, for example, "watchflag.Widget._layoutDirty"

    • Optionalenabled: boolean

      Should the feature be enabled or disabled? If undefined, toggles the feature

    Returns void