To export, the built plugin must be loaded in to Maya. It is shown in the image to the right. This allows us to even debug the exporter code. For that, the Debug version of the plugin must be loaded, as seen in the same diagram. To debug, you need to attach Visual Studio Debugger to the Maya process and then when you export, it will trigger breakpoints, if any.