$debugInstance = DebugMiddleware::createDebugMiddleware(FrameworkConfiguration::getSelfInstance()->getConfigEntry('debug_class'));
} catch (NullPointerException $e) {
// Didn't work, no instance there
$debugInstance = DebugMiddleware::createDebugMiddleware(FrameworkConfiguration::getSelfInstance()->getConfigEntry('debug_class'));
} catch (NullPointerException $e) {
// Didn't work, no instance there