Added debug option (only for namespaces)