Configurator::detectDebugMode can set cookie [WIP]