Skip to content

Instantly share code, notes, and snippets.

@ieski
Forked from rafnixg/launch.json
Created October 31, 2023 20:16
Show Gist options
  • Save ieski/dfb921460046499f05ec03eb10e769ab to your computer and use it in GitHub Desktop.
Save ieski/dfb921460046499f05ec03eb10e769ab to your computer and use it in GitHub Desktop.
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Odoo",
"type": "python",
"request": "launch",
"program": "/usr/bin/odoo",
"console": "integratedTerminal",
"justMyCode": false,
"args": [
"-c","/etc/odoo/odoo.conf",
"--limit-time-real", "99999",
"--dev", "xml",
"-d", "kimenz-prod"
]
},
{
"name": "Odoo-install-addons",
"type": "python",
"request": "launch",
"program": "/usr/bin/odoo",
"console": "integratedTerminal",
"justMyCode": false,
"args": [
"-c","/etc/odoo/odoo.conf",
"--limit-time-real", "99999",
"-d", "kimenz-prod",
"-i","agreement_portal",
"--stop-after-init"
]
},
{
"name": "Odoo-update-one-addons",
"type": "python",
"request": "launch",
"program": "/usr/bin/odoo",
"console": "integratedTerminal",
"justMyCode": false,
"args": [
"-c","/etc/odoo/odoo.conf",
"--limit-time-real", "99999",
"-d", "kimenz-prod",
"-u","fieldservice_equipment_website",
"--stop-after-init"
]
},
{
"name": "Odoo-update-all-addons",
"type": "python",
"request": "launch",
"program": "/usr/bin/odoo",
"console": "integratedTerminal",
"justMyCode": false,
"args": [
"-c","/etc/odoo/odoo.conf",
"--limit-time-real", "99999",
"-d", "kimenz-prod",
"-u","all",
"--stop-after-init"
]
},
{
"name": "Odoo-repl",
"type": "python",
"request": "launch",
"program": "/usr/bin/odoo",
"console": "integratedTerminal",
"justMyCode": false,
"args": [
"shell",
"-c","/etc/odoo/odoo.conf",
"--limit-time-real", "99999",
"--xmlrpc-port","8888",
"--longpolling-port","8899",
"-d", "kimenz-prod",
"--shell-interface", "ipython"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment