Skip to content

Bad debug polyfill #546

Description

@kaaax0815

Environment

not important

Reproduction

not important

Describe the bug

see

if (!env || (env !== "*" && !env.startsWith(namespace))) return;

this only enables a debugger if the debug env either is * or starts with the namespace.

namespace wildcards are not supported. e.g. worker:*

and most importantly multiple namespaces are not supported. e.g. worker1,worker2

Additional context

No response

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions