40 lines
1.3 KiB
JSON
40 lines
1.3 KiB
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "odoo-dev",
|
|
"type": "debugpy",
|
|
"request": "launch",
|
|
"cwd": "${workspaceRoot}",
|
|
"program": "${config:odoo.path}/odoo-bin",
|
|
"console": "integratedTerminal",
|
|
"args": [
|
|
"--database=nfu_cleanup",
|
|
"--addons-path=${config:odoo.addons_path},${workspaceFolder}",
|
|
"--limit-time-real=0",
|
|
"--limit-time-cpu=0",
|
|
// "--init=stock",
|
|
"--update=sale_order_batch,sale_order_batch_stock",
|
|
"--dev=xml"
|
|
]
|
|
},
|
|
{
|
|
"name": "odoo-scratch",
|
|
"type": "debugpy",
|
|
"request": "launch",
|
|
"cwd": "${workspaceRoot}",
|
|
"program": "${config:odoo.path}/odoo-bin",
|
|
"console": "integratedTerminal",
|
|
"args": [
|
|
"--database=odoo-scratch",
|
|
"--http-port=9069",
|
|
"--addons-path=${config:odoo.addons_path}",
|
|
"--limit-time-real=0",
|
|
"--limit-time-cpu=0",
|
|
// "--init=",
|
|
// "--update=",
|
|
"--dev=xml"
|
|
]
|
|
}
|
|
]
|
|
}
|