Skip to content

Debugging workers #12

@neonsamurai

Description

@neonsamurai

Has anybody figured out, how to debug worker code? Since it is run in a separate process I couldn't yet figure out a way to attach a debugger.

Do the worker processes have ports to which one could connect? I couldn't figure out if that's the case. The PID is shown, but debuggers need ports, so that's not much of a help. I also tried to get the ports by using the lsof tool, to not much effect. There are simply too many node processes running on my system...

Debugging with console.log() is so cumbersome...

Thanks in advance for any input.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions