|
|
hace 1 año | |
|---|---|---|
| appService | hace 1 año | |
| conf_template | hace 1 año | |
| dataAnalysisBehavior | hace 1 año | |
| dataAnalysisBusiness | hace 1 año | |
| dataContract | hace 1 año | |
| repositoryZN | hace 1 año | |
| wtoaamapi | hace 1 año | |
| README.md | hace 1 año | |
| mydatabase.db | hace 1 año |
风力发电机组运行分析算法模型 Wind turbine operation analysis algorithm model
http://127.0.0.1/admin
账号
admin
密码
root.123456
pip install --upgrade debugpy
示例:python -m debugpy --listen localhost:5678 --wait-for-client e:/WorkSpace/SourceCode/WTOAAM/wtoaamapi/apps/business/main.py
配置launch.json文件,内容如下: {
// 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: Remote Attach", // 远程调试
"type":"debugpy",
"request": "attach",
"connect": {
"host": "localhost",
"port": 5678
},
"pathMappings": [
{
"localRoot": "${workspaceFolder}",
"remoteRoot": "."
}
],
"justMyCode": false
}
]
}
打开要调试的源代码文件,在vscode搜索框选择"开始调试 debug","Python: Remote Attach"即lanuch.json文件中configurations[0].name节点值即可。
自定义包appService,同时支持daemon、windows服务
pip install python-daemon pypiwin32