Fix setting debug mode via code