1.正常开发调试
{ "name": "Odoo开发调试", "type": "python", "python": "/home/wdc/work/venv/bin/python3", "request": "launch", "program": "/home/wdc/work/odoo-17.0/odoo-bin", "console": "integratedTerminal", "justMyCode": true, "args": [ "-c", "/home/wdc/work/odoo-17.0/odoo.conf", ] },
2.单元测试调试
{ "name": "Odoo单元测试调试", "type": "python", "python": "/home/wdc/work/venv/bin/python3", "request": "launch", "program": "/home/wdc/work/odoo-17.0/odoo-bin", "console": "integratedTerminal", "justMyCode": true, "args": [ "-c", "/home/wdc/work/odoo-17.0/odoo.conf", "--test-enable", "-d", "demo01", "-u", "demo", "--log-level", "test", "--stop-after-init" ] },
标签:wdc,vscode,Odoo,17.0,odoo,home,work,调试 From: https://www.cnblogs.com/wangdianchao/p/17916229.html