debug pruning