pub(crate) fn dev_open_from( runtime: Option<RuntimeMode>, var: Option<&str>, ) -> bool
The switch counts only in a dev build.