Add debug for compass.