Add basic export debugging.