Windows10使用vscode利用linux子系统运行odoo12

2019/9/21 odoowsllinux

# linux子系统环境配置并运行odoo12

linux子系统环境配置并运行odoo12 (opens new window)

# 使用vscode运行linux子系统的odoo12

安装 Visual Studio Code 插件 Remote - WSL 配置启动文件 .vscode/launch.json

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Python: Odoo",
            "type": "python",
            "request": "launch",
            "program": "${workspaceFolder}/odoo/odoo-bin",
            "console": "integratedTerminal",
            "args": [
                "-c",
                "${workspaceFolder}/wsl.conf",
                // "-d", "odoo", "-i", "base", "--stop-after-init"
            ]
        }
    ]
}
上次更新: 7/19/2022, 1:38:51 PM