Added client debug mode