HbuilderX 版本:4.2.4
尝试重新打包基座,仍然无法连接调试
16:02:42.581 正在启动调试服务
16:02:47.039 调试服务已启动。日志信息将显示在Debug窗体的Console里
16:03:16.328 /Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-debugger/node_modules/puppeteer-cn-2/node_modules/puppeteer/lib/Launcher.js:359
16:03:16.328 reject(new TimeoutError(`Timed out after ${timeout} ms while trying to connect to Chrome! The only Chrome revision guaranteed to work is r${preferredRevision}`));
16:03:16.328 ^
16:03:16.328
16:03:16.328 TimeoutError: Timed out after 30000 ms while trying to connect to Chrome! The only Chrome revision guaranteed to work is r706915
16:03:16.328 at Timeout.onTimeout (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-debugger/node_modules/puppeteer-cn-2/node_modules/puppeteer/lib/Launcher.js:359:14)
16:03:16.328 at listOnTimeout (node:internal/timers:569:17)
16:03:16.329 at process.processTimers (node:internal/timers:512:7)
16:03:16.329
16:03:16.329
16:03:16.329 Node.js v18.20.0
2***@qq.com (作者)
有没有可能是端口占用,我发现调试会访问 8001 端口。
:我启动了一个Python 服务占用了 8001 端口,不断有 app-service.js 的请求访问它。
但是杀掉这个 Python 服务后仍然无法调试。
2024-09-14 11:36