You need only move the `CakePlugin::load('DebugKit')` into this if