# apt-get install wine // 须要安装wine, 不然开发工具报错:小程序重启耗时太久,请确认业务逻辑中是否有复杂运算,或者死循环node
在应用商店一键安装的话:git
# cd /usr/share/wechat-web-devtools/bin/ web
# ./update_nwjs小程序
问题解决。工具
手动安装:开发工具
# git clone https://gitee.com/aizhineng/wechat_web_devtools.git调试
# cd /usr/local/src/wechat_web_devtoolsblog
# ./bin/wxdt //也能够建立快捷方式到桌面,以管理员身份的打开文件夹,双击图标打开开发工具ip
真机调试报错:提示 Error: node-sync-ipc is broken.开发
关掉开发工具
bin 目录下的*.sh 文件,我都执行了个遍,终于没有node-sync-ipc这个问题了 。
从新打开开发者工具,发现没问题了。
参考:https://gitee.com/aizhineng/wechat_web_devtools