SocketLog
SocketLog copied to clipboard
微信调试、API调试和AJAX的调试的工具,能将日志通过WebSocket输出到Chrome浏览器的console中
您好,这个插件对于线上调试很方便,然后我有两个问题想请教您,如果方便希望您留意一下: 1)目前服务端是通过 NodeJs 实现的,我想请教下看能不能通过 workman 或 其他框架去实现(这块儿我也不是很懂。。。所以希望通过您这个调试插件去深入了解一下) 2)如果可以通过 workman 实现,那么当 客户端(浏览器插件) 通过 ws 协议连接服务端的时候,服务端是如何识别客户端的呢?(浏览器插件的 client_id 是如何接收的)
https://github.com/luofei614/SocketLog/blob/73964d9871829a53c9a55dd9cd085cb53bb27735/php/slog.php#L227 curl未及时close
错误信息: Access to font at 'https://fonts.gstatic.com/s/googlesans/v14/4UaGrENHsxJlGDuGo1OIlL3Owp4.woff2' from origin 'https://developers.google.com' has been blocked by CORS policy: Request header field socketlog is not allowed by Access-Control-Allow-Headers in preflight response. 感觉是触发了跨域限制; 关闭socketlog插件后就不报错了。
# 输入 socketlog-server后 # 提示信息如下 SocketLog started success events.js:160 throw er; // Unhandled 'error' event ^ Error: listen EADDRINUSE :::1229 at Object.exports._errnoException (util.js:1020:11) at exports._exceptionWithHostPort (util.js:1043:20) at Server._listen2 (net.js:1271:14) at...
我在 `docker` 中没有配置成功,能出一份 `docker` 中使用的教程吗? :sob:
Could you at least translate the description it in english ? thanks !