[fix] undefined JRegistry::$debug