Created
April 3, 2022 17:45
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// 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