我参考https://uniapp.dcloud.net.cn/tutorial/debug/uni-vue-devtools.html 想启动动uni-vue-devtools,项目也是用的系统的uni-stater什么都没改,但一直在转圈见(见图1)。重启hbuilderx,重新编译启动服务都不行。chrome页面是有正常显示的(见图2) 。
hbuilderx log日志如下,我看到一个 QLayout: Cannot add a null widget to QVBoxLayout/,估计是这个原因,但是什么原因最终导致的,无法分析。
2024-10-30 11:17:16.481 [INFO:] (createbottomview tabw::currentchanged) getcurrentbottomconsoleview
2024-10-30 11:20:45.523 [WARNING:] QLayout: Attempting to add QLayout "" to ConfigurationJsonForm "", which already has a layout
2024-10-30 11:21:44.959 [INFO:] destory cef3 webview.
2024-10-30 11:22:00.914 [INFO:] [PluginHost] Execute command: "setContext"
2024-10-30 11:22:00.915 [INFO:] [PluginHost] Execute command: "setContext"
2024-10-30 11:22:13.795 [WARNING:] QLayout: Cannot add a null widget to QVBoxLayout/
2024-10-30 11:22:13.803 [INFO:] construct cef3 webview.
================================================
我的问题:
开启这个uni-vue-devtools会监听哪个端口。我看了下,开启这tools不会启新的进程,还在Hbuilder.exe主进程里面,但这个进程没有开任何监听端口(见图3)