How to Enable Developer Mode in XenForo
Enabling Developer Mode in XenForo allows you to access advanced features such as:- Exporting and editing add-ons directly
- Accessing all templates
- Working with phrases and options at a deeper level
Developer mode is not recommended for live/production sites as it can expose sensitive development tools and options. Use it only on development or staging environments.
This file is located in your XenForo installation under:
/src/config.php
Open the file in a code editor or with SSH/SFTP and add the following line at the bottom of the file:
$config['development']['enabled'] = true;
Your file should now look like this:
PHP:
<?php
$config['db']['host'] = 'localhost';
$config['db']['port'] = '3306';
$config['db']['username'] = 'db_user';
$config['db']['password'] = 'db_pass';
$config['db']['dbname'] = 'xenforo_db';
$config['development']['enabled'] = true;
What Happens After Enabling Developer Mode?
Once developer mode is enabled:- A new “Development” menu appears in the admin panel under Admin > Development.
- You can create/edit/export add-ons directly.
- All templates, phrases, and admin options become editable.
- You can access features like template modification exports, code event listeners, and more.
Remove or comment out this line:
// $config['development']['enabled'] = true;
Save the file and refresh your admin panel — the developer tools will disappear.