Collect debug information