private function registerAceEditorParameters(array $config, ContainerBuilder $container)
    {
        // use debug from the kernel.debug, but we can force it via "debug"
        $debug = $container->getParameter('kernel.debug');
        if (!$debug && $config['debug']) {
            $debug = true;
        }

        $mode = 'src'.($debug ? '' : '-min').($config['noconflict'] ? '-noconflict' : '');

        $container->setParameter('norzechowicz_ace_editor.options.autoinclude', $config['autoinclude']);
        $container->setParameter('norzechowicz_ace_editor.options.base_path', $config['base_path']);
        $container->setParameter('norzechowicz_ace_editor.options.mode', $mode);
    }