Debug the export command