Enable log saving for debug builds