This question has been flagged
1 Reply
2236 Views

I am confused in debugging the methods in odoo when we use localhost then we use pycharm to debug, through pycharm we debug the methods but here is the new concept of debugging through server logs i just want to clear my concept that what is the difference between the pycharm debugging and server debugging.

Avatar
Discard
Best Answer

For debugging you just need to debug from Odoo's screen no need for the server or Pycharm even, except if you restart odoo's server.

You can debug by adding the link after "web" add ?debug=1 and enter you will enter debug mode.

e.g.

Link before debugging "adding debug mode"

https://demo3.odoo.com/web#cids=1&home=

Link after debugging 

https://demo3.odoo.com/web?debug=1#cids=1&home=

Or for in other way by going to settings on the end of the page you will find "Activate the developer mode" just click it.

This is two ways to debug.

Avatar
Discard