Add debugging in plugin.coffee