Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
11650 Lượt xem

I installed the Odoo runtime environment on a VM, OS is debian, python environment is virtual env. 
The development tool is VSCode, which accesses and modifies Odoo's source files through remote-ssh extension.
When I wanted to debug the code, I added the following configuration to VSCode's launch.json: 


         {
             "name": "Odoo",
             "type": "python",
             "request": "launch",
             "stopOnEntry": false,
             "pythonPath": "$ {workspaceRoot} /../ odoo-env / bin / python3",
             "program": "$ {workspaceRoot} / odoo-bin",
             "args": [
               "-c",
               "~/odoo13.conf"
             ],
             "cwd": "$ {workspaceRoot}",
             "console": "integratedTerminal",
         } 


But this configuration does not work properly, the error message is "OSError [Errno 98]  Address already in use ".
This seems to be a configuration for debugging odoo locally.

Ảnh đại diện
Huỷ bỏ

To fix the address already in use issue, either you can restart the system or change the port number or to kill the running process, for more see: https://maheshwarimayur.blogspot.com/2013/02/socketerror-errno-98-address-already-in.html