Skip to content

🐛 BUG: execution freezes on debugger statements when no inspector is open #7956

Open
@dario-piotrowicz

Description

Which Cloudflare product(s) does this pertain to?

Wrangler, Miniflare

What versions are you using?

[email protected]

What operating system and version are you using?

macOS Sequoia 15.2

Please provide a link to a minimal reproduction

https://github.com/dario-piotrowicz/my-create-cloudflare-worker-29-01-2025

Describe the Bug

Just adding a single debugger statement to a worker causes the whole process to freeze and not serve responses anymore, the only way to unblock execution is to open a devtools inspector

The way I reproduced this was by simply creating a worker using C3 (dario-piotrowicz/my-create-cloudflare-worker-29-01-2025@3996954), adding a debugger statement to my worker (dario-piotrowicz/my-create-cloudflare-worker-29-01-2025@95c7bb7) and running npm start, in such case requests don't get processed until I open an inspector that lets me hit the debugger.

Please provide any relevant error logs

No response

Metadata

Assignees

No one assigned

    Labels

    bugSomething that isn't working

    Type

    No type

    Projects

    • Status

      Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions