vscode开发环境部署

2026-11-06 20:55:45
微图
27
最后编辑:微图 于 2026-11-06 21:09:23
分享链接

加载工程目录

file-openFolder

安装python环境

添加配置环境

run-add configuration


{
    // 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": "debugpy",
            "request": "launch",
            "program": "${workspaceRoot}/odoo-bin",
            "console": "integratedTerminal",
            "args": [
                "--config=./odoo.conf",
                "--dev=xml",
                //"--update=web"
            ],
            "cwd":"${workspaceRoot}",
            "env": {},
            "envFile": "${workspaceRoot}/.env",
            "debugOptions": [
                "RedirectOutput"
            ]
        }
    ]
}

运行

view-run


发表评论
评论通过审核后显示。
  • 在线客服
  • 关注微信
    • 客服帆帆
    • 客服娜娜
    • 客服美美
    • 客服龙龙
  • 扫一扫关注微信