feat: 将默认调试端口修改为 9223

This commit is contained in:
WJZ_P
2026-03-16 23:49:52 +08:00
parent 11a0804a0f
commit f4c7621e21
4 changed files with 15 additions and 6 deletions

View File

@@ -366,7 +366,7 @@ async function findOrCreateGeminiPage(browser) {
*
* @param {object} [opts]
* @param {string} [opts.executablePath] - 浏览器路径(不传则自动检测)
* @param {number} [opts.port] - 调试端口env: BROWSER_DEBUG_PORT默认 9222
* @param {number} [opts.port] - 调试端口env: BROWSER_DEBUG_PORT默认 9223
* @param {string} [opts.userDataDir] - 用户数据目录env: BROWSER_USER_DATA_DIR不传则多级兜底
* @param {boolean} [opts.headless] - 无头模式env: BROWSER_HEADLESS默认 false
* @param {object} [opts.debugOpts] - 调试/信号控制选项(透传给 Puppeteer launch