weasel API - v0.8.0
    Preparing search index...

    Function parseDebugFlags

    • Parse a URL query string (with or without leading ?) for a debug param.

      • ?debug=hitboxes{ hitboxes: true }
      • ?debug=bounds,origins{ bounds: true, origins: true }
      • ?debug=all → every feature enabled
      • missing/empty/unknown-only → null

      Parameters

      • search: string

      Returns DebugConfig | null