Added isDebugEnabled to the plugin system.