【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>>
# apt-get install wine // 需要安装wine, 否则开发工具报错:小程序重启耗时过久,请确认业务逻辑中是否有复杂运算,或者死循环
在应用商店一键安装的话:
# cd /usr/share/wechat-web-devtools/bin/
# ./update_nwjs
问题解决。
手动安装:
# git clone https://gitee.com/aizhineng/wechat_web_devtools.git
# cd /usr/local/src/wechat_web_devtools
# ./bin/wxdt //也可以创建快捷方式到桌面,以管理员身份的打开文件夹,双击图标打开开发工具
真机调试报错:提示 Error: node-sync-ipc is broken.

关掉开发工具
bin 目录下的*.sh 文件,我都执行了个遍,终于没有node-sync-ipc这个问题了 。
重新打开开发者工具,发现没问题了。
参考:https://gitee.com/aizhineng/wechat_web_devtools
来源:oschina
链接:https://my.oschina.net/u/3567851/blog/3049162