Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dario-piotrowicz opened this issue Jan 29, 2025 · 0 comments
Labels
bug Something that isn't working

Comments

@dario-piotrowicz
Copy link
Member

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

@dario-piotrowicz dario-piotrowicz added the bug Something that isn't working label Jan 29, 2025
@github-project-automation github-project-automation bot moved this to Untriaged in workers-sdk Jan 29, 2025
@andyjessop andyjessop moved this from Untriaged to Backlog in workers-sdk Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something that isn't working
Projects
Status: Backlog
Development

No branches or pull requests

1 participant