Added EditorModel.debug, to enabel/disable the logs