Add debug action to the plugin