4 Replies
I asked a question on SO 1.5 years ago, but here we are, with miniflare 3 being a backwards step from miniflare 2 😓 https://stackoverflow.com/questions/71378209/how-to-put-breakpoints-and-debug-cloudflare-workers
Stack Overflow
How to put breakpoints and debug Cloudflare Workers?
How do I put breakpoints and debug Cloudflare Workers? I've read the Cloudflare "Debugging Workers" guide, and unfortunately, it is not helpful.
It does mention:
Inserting console.log li...
Ahh, it's now just an undocumented feature: https://github.com/cloudflare/workerd/issues/371
Woop woop
GitHub
🚀 Feature Request: Breakpoint debugging support in
workerd
· Issu...Hi, Basically, I don't know how to debug a worker with VS Code. When clicking "Run/Debug" in VS Code, it basically invokes what is configured in .vscode/launch.json. I just have no id...
Lovely! it is possible even in Webstorm
Thanks @mrbbot
![No description](https://cdn.answeroverflow.com/1153049452572049408/breakpoint.png)
Oh dear, once I hit a breakpoint, the worker freezes completely.