Skip to main content

with_debug

Function with_debug 

Source
pub fn with_debug<E>(
    effect: E,
) -> impl Effect<Output = E::Output, Error = MapReduceError, Env = MapEnv>
where E: Effect<Error = MapReduceError, Env = MapEnv>,
Expand description

Run an effect with debug mode enabled.

Sets the “debug” config value to true for the duration of the effect.

§Example

let effect = with_debug(execute_commands(commands));