add debug_on & switch_to_dev_branch