Added debug for dependency graph