Developer mode (debug mode) in Odoo is an essential tool for every developer, consultant and system administrator. It provides access to advanced features, technical information and diagnostic tools that are hidden in the standard user interface. In this guide, we will present all the methods of activating developer mode and show you how to use it effectively.
What is developer mode in Odoo?
Developer mode in Odoo is a special operating mode of the system that reveals additional technical options and diagnostic tools. Once activated, the user gains access to information about the database structure, view metadata, the ability to edit technical fields, and many other features unavailable to standard users.
Enabling developer mode is particularly useful when:
- Creating and modifying custom modules
- Debugging errors in the system
- Analyzing data structure and relationships between models
- Customizing views and the user interface
- Testing new functionalities
- Working on integrations and APIs
Method 1: Activation via URL (fastest)
The simplest and fastest way to enable developer mode in Odoo is to add a parameter to the URL. This method works in all Odoo versions and requires no special permissions beyond standard access to the system.
Standard developer mode:
Add ?debug=1 at the end of the current URL (or &debug=1 if the URL already contains other parameters), e.g.:
https://twoja-domena.odoo.com/web?debug=1
or
https://twoja-domena.odoo.com/web#action=123&debug=1
Developer mode with assets:
If you are working on JavaScript or CSS files and want to see the uncompiled versions of the resources (without minification), use:
https://twoja-domena.odoo.com/web?debug=assets
This mode loads individual JS and CSS files instead of compiled bundles, which makes it easier to debug frontend code and identify the source of errors.
Developer mode with tests:
For advanced developers, there is also a mode with the testing framework (tours) enabled:
https://twoja-domena.odoo.com/web?debug=tests
This option is useful when running functional tests and tours in the browser.
Method 2: Activation via the user menu
In newer versions of Odoo (17+), developer mode can be activated directly from the user menu, without having to go into the system settings.
Step by step:
- Log in to your Odoo instance
- Click your profile icon in the top right corner of the screen
- In the dropdown menu you will find the Activate the developer mode option (it may be displayed as "Developer Mode" or "Debug Mode" depending on the language version)
- Click this option
After completing these steps, the page will reload, and a bug/developer tools icon (usually looking like a bug or tools icon) will appear in the top right corner, indicating that developer mode is active.
Note: In some Odoo versions this option may be available only in the Settings menu. If you do not see it in the user menu, go to Settings and scroll to the bottom of the page, where you will find the developer tools section.
Method 3: Activation via Settings
The traditional method of activating developer mode, which works in all Odoo versions and provides the fullest access to options.
Instructions:
- Log in to Odoo with administrator permissions or as a user with access to Settings
- Go to the Settings app
- Scroll to the very bottom of the page
- Find the Developer Tools section
- Click the Activate the developer mode button
Various variants of developer mode are available in this section:
- Activate the developer mode - the standard version with full access to technical features
- Activate the developer mode (with assets) - a version for frontend developers working on JS/CSS
Method 4: Configuration in the odoo.conf file (for development environments)
If you have access to the server and want to enable developer mode permanently for the entire instance, or activate additional developer features at the server level, you can do so through the configuration file or startup parameters.
Editing the configuration file:
- Locate the
odoo.conffile (usually in/etc/odoo/,/etc/odoo-server/or in the installation directory) - Open the file in a text editor with administrator privileges
- Add one of the following options in the [options] section:
For automatic code reloading on changes:
dev_mode = reload,xml
Or when starting the server from the command line:
./odoo-bin --dev=all
Available parameters for the --dev option:
reload- automatically reloads the server when Python files changexml- reloads XML views without restarting the serverqweb- reloads QWeb templatesall- enables all of the above options
Save the file and restart the Odoo service:
sudo systemctl restart odoo
Note: This method is recommended only for development and test environments, never for production instances. Automatic reloading significantly reduces performance and can lead to system instability. If you are working on an Odoo 19 installation, make sure that developer mode and the --dev options are disabled before launching the production system.
What do you gain by enabling developer mode?
After activating developer mode, you get access to a number of advanced features that significantly make working with Odoo easier:
Developer tools menu:
After enabling developer mode, a tools icon (bug icon) appears in the top right corner of the interface. Clicking it offers access to the following options:
- Edit View - direct modification of the XML of the current view (form, list, kanban, etc.)
- View Metadata - detailed technical information about the current record, including ID, creation/modification dates and user
- Manage Filters - creating and editing advanced filters and groups
- Manage Views - previewing and editing the view hierarchy for a given model
- Edit Action - modifying the parameters of a window action
- Set Defaults - defining default field values for users
Technical menu in Settings:
A new Technical section appears in the Settings app, containing:
- Models - browsing and editing the database structure, fields and relations
- Views - managing all views in the system
- Actions - configuring window actions, server actions, reports and scheduled actions
- Menus - editing the application menu structure
- Translations - importing/exporting and editing translations
- Record Rules - configuring record-level security
- Sequences - managing document numbering
- System Parameters - editing ir.config_parameter
Additional features available in views:
- Technical fields - the ability to display and edit hidden system fields such as ID, create_date, create_uid, write_date, write_uid
- Technical buttons - access to debugging buttons, such as "Force Availability" or "Refresh View"
- Advanced search options - the ability to create filters using the Odoo domain
- SQL in lists - in some views, access to the generated SQL queries
If you are working on a multilingual configuration, developer mode makes it much easier to access the translation interface and allows you to export/import PO files.
How to disable developer mode?
Disabling developer mode is as easy as enabling it. The following methods are available:
Via the developer tools menu:
- Click the developer tools icon (bug icon) in the top right corner
- From the dropdown menu, select Deactivate the developer mode
- The page will automatically reload without developer mode
Via URL:
Add the parameter ?debug=0 to the URL, or simply remove the debug parameter from the URL and refresh the page.
Via the user menu:
- Click the profile icon in the top right corner
- Select the Deactivate the developer mode option (if available in your version)
Via Settings:
- Go to the Settings app
- Scroll to the Developer Tools section
- Click the Deactivate the developer mode button
Best practices and warnings
When working with developer mode, it is worth keeping a few important points in mind:
Security:
- Never enable developer mode on production instances accessible to end users - it exposes sensitive technical information
- Developer mode gives access to the database structure, system fields, SQL queries and other information that may pose a security risk
- Restrict the ability to activate developer mode to trusted administrators and developers only
- In production environments, consider using access groups that block access to technical menus even with developer mode enabled
- Remember that any user can enable developer mode via the URL, so simply hiding the button in the interface is not sufficient protection
Performance:
- Standard developer mode (
debug=1) has minimal impact on performance in newer Odoo versions - The
debug=assetsmode significantly increases page load time, because JS and CSS resources are neither compiled nor cached - use it only when working on frontend code - The
--dev=reloadoption in the configuration file affects server performance by monitoring file changes - Additional diagnostic information and logging increase the system load
Backups:
Before making changes in developer mode, especially modifying views, actions or the database structure, always make a database backup. In case of problems, you will be able to easily restore the system from the backup.
Documenting changes:
- All modifications made directly in the interface (editing views, creating actions) are saved in the database, not in modules
- Such changes are harder to transfer between environments and may be accidentally overwritten by module updates
- For long-term changes, it is better to create dedicated modules
- Document all the modifications you make so that other developers can understand them
Typical use cases for developer mode
Customizing views:
Developer mode allows you to quickly edit views without having to create modules. Click the developer tools icon, select "Edit View", and then modify the XML directly in the editor. This is an ideal solution for quick tests and prototyping, but remember that for production changes it is better to create a dedicated module.
Debugging errors:
Developer mode gives you access to detailed error messages, full tracebacks and system logs. The "View Metadata" option lets you check exact field values, modification dates and users, which is invaluable when diagnosing data problems.
Analyzing data structure:
The Technical menu → Models lets you browse all models in the system, their fields, types, relations and constraints. This is a key tool when designing new functionalities, building integrations or understanding how existing modules work.
Configuring advanced features:
Some Odoo features, such as:
- Automated Actions - performing operations based on time conditions or data changes
- Server Actions - creating custom Python actions that can be triggered from the interface
- Scheduled Actions (cron jobs) - tasks executed periodically
- Email Templates - advanced template editing using QWeb
- Record Rules - precise control of access to records
require access to technical menus available only in developer mode.
Working with translations:
The Technical menu → Translations lets you export terms to PO files, translate them in bulk in editors such as Poedit, and then import them back. You can also edit translations directly in the interface by searching for specific terms.
Testing and module development:
When building your own modules, developer mode is essential. It allows you to:
- Quickly check the effects of changes in views and models
- Test server actions before saving them in code
- Debug data flows between models
- Analyze the performance of SQL queries (in combination with logs)
FAQ - Frequently asked questions
Is developer mode available in both the Community and Enterprise editions?
Yes, developer mode is available in both the Community and Enterprise editions of Odoo. All the activation methods described work in both editions of the system. The differences between the editions concern the available business functionalities (such as Marketing Automation, Studio, IoT), not the developer tools. Technical features, view editing and access to technical menus all work the same way in both editions.
Can I use developer mode in production?
Enabling developer mode on production instances accessible to end users is strongly discouraged. This mode exposes sensitive technical information (database structure, record IDs, view source code), can reduce system performance (especially debug=assets) and poses a security risk. Use it only in development and test environments. If you absolutely must use developer mode in production for a one-off diagnosis of a problem, enable it only for as long as necessary and make sure you are the only logged-in user.
What should I do if I cannot disable developer mode?
If the standard methods of disabling it do not work, try the following solutions:
- Clear your browser cache and cookies, then log in again
- Manually add the
?debug=0parameter to the URL and refresh the page - Try your browser's incognito/private mode
- Log out and log in again
- Check whether the
dev_modeoption is set in the server configuration file - In extreme cases, restart the Odoo service on the server
If the problem persists, it may indicate a cache or session issue - contact your system administrator.
Are changes made in developer mode permanent?
Yes, most changes made in developer mode (editing views, creating actions, modifying fields) are saved in the database and remain after the mode is disabled. However, these changes are stored as customizations in the database rather than as part of modules, which means that:
- They are not automatically transferred between environments (dev → test → prod)
- They can be harder to track and document
- They may require manual transfer when base modules are updated
For long-term changes, it is recommended to create dedicated modules.
Does developer mode affect system performance?
The impact depends on the variant used:
debug=1- minimal performance impact in newer Odoo versionsdebug=assets- significant impact, pages load more slowly (no compilation and minification of JS/CSS)--dev=reload- affects server performance (monitoring file changes)
In production environments, even a minimal performance drop can be noticeable with a large number of users.
Summary
Enabling developer mode in Odoo is a fundamental skill for every developer, consultant and system administrator. The methods presented - from the simplest activation by adding a parameter to the URL, through activation from the user menu, to advanced configuration in the odoo.conf file - allow you to adapt the way you work to your individual needs and preferences.
Key points to remember:
- The simplest method is to add
?debug=1to the URL - Developer mode gives you access to technical menus, view editing and advanced diagnostic tools
- Use it only in development and test environments, never in production
- Always create backups before making changes
- For long-term changes, create dedicated modules instead of editing directly in the database
Remember that developer mode is a powerful tool that requires responsible use. Use it only in development environments, always create backups before making changes, and never expose an instance with developer mode active to end users.
Mastering developer mode will significantly speed up your work with Odoo and allow you to take full advantage of its customization capabilities. It is the foundation of effective work with the Odoo platform, whether you are dealing with simple configurations or advanced module development.
Need support with your Odoo configuration?
KK Innovations is a team of experienced Odoo specialists who will help you make the most of the system's potential. We offer comprehensive support - from installation and configuration, through development of dedicated modules, to training for your team.
Contact us today and find out how we can improve your business processes with Odoo!