Add debug output to plugin

Provide some debug information to help with cider #680.
Merge pull request #102 from hugoduncan/feature/add-plugin-debug-output

Add debug output to plugin