Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to do debugging in odoo on browser

How to debug in "Odoo" special in browses like Chrome and Firefox???

Would anybody provide information, it will be great.

Thanks in advance

like image 569
user1576199 Avatar asked Oct 01 '14 13:10

user1576199


People also ask

How to debug js in Odoo?

Open Tools menu and click on Developer Tools menu in google chrome. It will open small window in bottom of browser or press SHIFT + CTRL + I for open the debug mode view. Right Click on debug window and it will open the small with few option, So you can active or click on logXMLHTTPREQUEST option.

How do I enable developer mode in Odoo 15?

Access the settings and install the extension Odoo Debug. Once the web extension is installed, we can click on the extension icon to activate and deactivate the developer mode. You can double-click the icon to activate assets. The customization of keyboard shortcuts is also possible to manage the extension.


2 Answers

Your question is not very clear to me, but if you want to enter the built-in odoo debug mode you need to add ?debug to the URL, right after /web. For example http://odoo.your-site.com/web?debug.

When in this special mode you get a debug menu, with various technical options:

debugging menu in odoo

Also, when you are in debug mode odoo doesn't minify the JS files, allowing you to use built-in browser JavaScript debug tools more easily.

like image 93
Ludwik Trammer Avatar answered Sep 18 '22 21:09

Ludwik Trammer


You can open the console in browser(using F12 key). It will display each request and response with value.

If you are using chrome then you need to activate the logXMLHTTPREQUEST in console. For activate each request and response you can Right click on console and click on logXMLHTTPREQUEST option.

like image 33
Yogesh Sakhreliya Avatar answered Sep 17 '22 21:09

Yogesh Sakhreliya