Helix Core is now P4 and Helix Swarm is now P4 Code Review. Learn more >>

Documentation | 2025.2

# Development mode

P4 Code Review has a development mode that, when enabled, changes P4 Code Review's behavior in the following ways:

- CSS and JavaScript code is not aggregated. Each CSS or JavaScript file is fetched individually, which makes it much easier to identify where styles or functions exist and how they apply to P4 Code Review. Due to the additional HTTP requests, development mode should not be used in production environments.
- The My Dashboard, Reviews list, Project settings, and Review display pages are written in React. These pages are minified and cannot be modified.
- Errors and exceptions that may occur are displayed in P4 Code Review's UI. This is particularly useful to developers of P4 Code Review modules. As the error information might disclose system paths or configuration, development mode should not be used in production environments.

If you make a configuration change, P4 Code Review will not use it until the configuration cache has been reloaded, this forces P4 Code Review to use the new configuration. You must be an admin or super user to reload the P4 Code Review config cache. Navigate to the User id dropdown menu, select System Information, click the Cache Info tab, and click the Reload Configuration button.

## To enable development mode:

Adjust the `SWARM_ROOT/data/config.php` file to include:

    <?php
        return array(
            'p4' => ...
            'environment'   => array(
                'mode'  => 'development'
            )
        );

## To disable development mode:

Adjust the `SWARM_ROOT/data/config.php` file to exclude the `'mode' => 'development'` line.

Your search for returned results