Add debug recording + submission