--- title: debug.feature() function description: > `debug.feature()` returns the value associated with the given feature flag. menu: flux_v0_ref: name: debug.feature parent: internal/debug identifier: internal/debug/feature weight: 201 --- `debug.feature()` returns the value associated with the given feature flag. ##### Function type signature ```js (key: string) => A ``` {{% caption %}} For more information, see [Function type signatures](/flux/v0/function-type-signatures/). {{% /caption %}} ## Parameters ### key ({{< req >}}) Feature flag name.