Function should_debug

Source
pub fn should_debug(operation: &str) -> bool
Expand description

Checks if the operation passed is included in the TURBOPACK_DEBUG_JS env var to enable node.js debugging at runtime.

This is preferable to manually passing a boolean because recompiling won’t be necessary.