Function isDebugFeatureEnabled

  • Check if a debug feature is enabled.

    Parameters

    • debugFeature: string

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

    Returns boolean

    Returns true if the debug feature is enabled. If the feature doesn't exist or ins't enabled, returns false.