Skip to content

Instantly share code, notes, and snippets.

@jgera
Created April 3, 2022 17:45
Show Gist options
  • Save jgera/f7d60db38914c00e85b13dda27ab643c to your computer and use it in GitHub Desktop.
Save jgera/f7d60db38914c00e85b13dda27ab643c to your computer and use it in GitHub Desktop.
Odoo lauch.json for vscode with config file path and dev options enabled
{
// 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": "Python: Odoo",
"type": "python",
"request": "launch",
"pythonPath": "${workspaceRoot}/venv/Scripts/python.exe",
"program": "odoo-bin",
"console": "integratedTerminal",
"args": ["--config=${workspaceRoot}\\odoo.conf","--dev=all"],
// "args": ["--addons-path={workspaceRoot}\\myaddons"],
"cwd": "${workspaceRoot}",
"justMyCode": true
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment