{
"version": "0.2.0",
"configurations": [
{
"name": "Python: 当前文件",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
"env": {
"PYTHONPATH":"D:\\koukou\\manifest\\resources"
}
}
]
}
(Pylance 插件)
settings.json
{
"python.pythonPath": "resources/tools/python3_linux/bin/python3",
"python.analysis.extraPaths": ["resources", "resources/core"]
}