Debug window opens when using "Export as MP3" command in audacity macro

I set the macro output to my hardrive. When I can the macro, instead of exporting the files i selected, Audacity opened a debug window and closed the program once I closed the debug window. Nothing was exported.