-
Notifications
You must be signed in to change notification settings - Fork 10.1k
Open
Labels
enhancementNew feature or requestNew feature or requestpackage:socket.io-clientThis concerns the "socket.io-client" packageThis concerns the "socket.io-client" package
Description
You want to:
- report a bug
- request a feature
Current behavior
The documentation says to set localStorage.debug = '' in order to turn on debug messages, but when using socket.io-client from inside of a web worker we don't have access to localStorage. We tried explicitly calling debug.enable('') from the worker, but that doesn't seem to work either.
As doing more work in terms of I/O and processing (we are loading large datasets into the client) is moving to worker threads this is likely to become a more common issue. I'm not familiar enough with the setup to know whether this needs to be handled by socket-io.client or the debug library that it uses.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestpackage:socket.io-clientThis concerns the "socket.io-client" packageThis concerns the "socket.io-client" package