Add debug output to plugin

Provide some debug information to help with cider #680.