[Develop] add a toggle for debug log