I had this problem when configuring odoo in visual studio code. Can you suggest a solution to fix it.
My config file:
{
// 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, Odoo16",
"type": "python",
"request": "launch",
"stopOnEntry": false,
//"python": "${file}",
"justMyCode": true,
"python": "C:\\Program Files\\odoo16\\python\\python.exe",
"console": "integratedTerminal",
"program": "${workspaceRoot}\\odoo-bin",
"args": [
"--config=${workspaceRoot}\\odoo.conf",
],
"cwd": "${workspaceRoot}",
"env": {},
"envFile": "${workspaceRoot}/.env",
"debugOtions": [
"RedirectOutput"
]
}
]
}