Skip to content

Debugging xstate inside a webworker #32

@tomenden

Description

@tomenden

Hi Amit,

Great Extension!
I have quite a unique use-case that I'm wondering if you have an idea of how to support. I will be happy to create a PR.
I am running xstate inside a web-worker (to do that, I added to patch self.global in the worker because xstate does not work in a webworker out-of-the-box at the moment). Currently, the devtools does not identify the interpreter, do you have an idea how this could be supported?

Redux Devtools has a "remote" option - https://github.com/zalmoxisus/remote-redux-devtools which allows it to work with web-workers. Any thoughts on how I could implement something similar for xstate-devtools?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions