Add debug task start wait setting

This commit is contained in:
2026-07-07 10:58:20 +08:00
parent c2fe56cae9
commit ac3f31797f
3 changed files with 15 additions and 0 deletions

View File

@@ -45,6 +45,11 @@ const config = {
navigationTimeout: 60000,
taskTimeout: Number(process.env.TASK_TIMEOUT_MS) || 180000,
// 调试模式
debug: {
startWaitMs: Number(process.env.DEBUG_START_WAIT_MS) || 0,
},
// 浏览器设置
browser: {
headless: process.env.DEBUG === 'true' ? false : true,