添加 Debug 调试任务和运行 bot 的 task

This commit is contained in:
2025-09-28 20:31:18 +08:00
parent d6d68dcc96
commit a727c108fe
3 changed files with 41 additions and 1 deletions

13
.vscode/tasks.json vendored
View File

@ -12,6 +12,19 @@
},
"problemMatcher": [],
"detail": "导出生产环境依赖到 requirements.txt"
},
{
"label": "Bot: Run with Auto-reload",
"type": "shell",
"command": "poetry run watchfiles bot.main",
"group": "build",
"isBackground": true,
"presentation": {
"reveal": "always",
"panel": "new"
},
"problemMatcher": [],
"detail": "运行 bot 并启用自动重载功能"
}
]
}