You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
修正方法:
wxWebSocketDebugUrlFetcher.py新增代码(详情见上图):
for i in range(len(strlist)):
pidStr = strlist[i]
if pidStr.find('com.tencent.mm')>=0:
pid = strlist[i+1].split("\r\n")[0]
我用华为p9, 对小程序进行测试, 报错:
获取小程序pid失败,请检查是否在小程序首屏进行初始化错误
原因:

pid拿错值了
修正方法:
wxWebSocketDebugUrlFetcher.py新增代码(详情见上图):
for i in range(len(strlist)):
pidStr = strlist[i]
if pidStr.find('com.tencent.mm')>=0:
pid = strlist[i+1].split("\r\n")[0]