Added debug output for capability headers