Use debug filter instead of custom debug attribute generation
Refactor SAX pipe configuration into a separate method