documentation/general/developer_mode/activate.rst
2020-03-05 16:51:04 +01:00

55 lines
1.7 KiB
ReStructuredText
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

===================================
Activate the Developer (Debug) Mode
===================================
The Developer or Debug Mode gives you access to extra and advanced tools.
Through the Settings application
--------------------------------
Go to :menuselection:`Settings --> Activate the developer mode`.
.. image:: media/settings.png
:align: center
:alt: Overview of the debug options under settings in Odoo
.. note::
*Activate the developer mode (with assets)* is used by developers; *Activate the developer mode
(with tests assets)* is used by developers and testers.
Once activated, the *Deactivate the developer mode* option becomes available.
Through a browser extension
---------------------------
| Go to the settings and extensions of your web browser, and search for *Odoo Debug*. Once the
extension is installed, a new icon will be shown on your toolbar.
| For the *Odoo Debug* extension, a single click enables a normal version of the mode, while a
double click enables it with assets. To deactivate it, use a single click.
.. image:: media/monkey.png
:align: center
:alt: View of odoos debug icon in a chromes toolbar
Through the URL
---------------
In the URL add ``?debug=1`` or ``?debug=true`` after *web*.
.. image:: media/url.png
:align: center
:alt: Overview of an url with the debug mode command added in Odoo
.. tip::
Developers: type ``?debug=assets`` and activate the mode with assets.
Locate the mode tools
---------------------
The Developer mode tools can be accessed from the *Open Developer Tools* button, located on the
header of your pages.
.. image:: media/button_location.png
:align: center
:alt: Overview of a console page and the debug icon being shown in Odoo