Debug like a pro: the developer mode

Public Channel / Odoo Experience 2016

By Nicolas Martinelli - Odoo Developer

Share on Social Networks

Share Link

Use permanent link to share in social media

Share with a friend

Please login to send this presentation by email!

Embed in your website

Select page to start with

4. Debug mode in v9

7. Where is it hidden now?

3. Introduction 1

6. Debug mode in v10 2

9. Debug tools 3

12. Thank you. #odooexperience EXPERIENCE 2016

1. Debug like a pro The developer mode Nicolas MARTINELLI • Developer EXPERIENCE 2016

5. Debug mode in v9 ● Split the assets (do not merge/minify JS and CSS) ● Access debug tools

11. QWeb tools ● Attribute ‘t-debug’ in template: <span t-debug="pdb" t-if="line.discount">Discount</span> ● Launch server with option ‘--dev=all’

2. Introduction Debug mode in v10 Debug tools 1 2 3

8. 2 modes ● Developer mode http://<server_url>/web ?debug #home ● Developer mode (with assets) http://<server_url>/web ?debug=assets #home

10. Standard tools ● Javascript ○ Activate Developer mode (with assets) ○ Tools of the browser (F12 key) ● Python ○ pdb, ipdb, pudb... ○ Requires access to server console

Views

  • 25 Total Views
  • 0 Website Views
  • 25 Embeded Views

Actions

  • 0 Social Shares
  • 0 Likes
  • 0 Dislikes
  • 0 Comments

Share count

  • 0 Facebook
  • 0 Twitter
  • 0 LinkedIn
  • 0 Google+

Embeds 1

  • 1 accounts.odoo.com