VS Code debugger stuck on first breakpoint
Hey 👋
I've been using the VS Code debugger for a few days to debug my Workers project, and it worked perfectly. But for some reason it stopped working since yesterday.
The debugger hits the 1st breakpoint, and it got stuck: I can't see variables values or anything, and I can't even continue the debug session after that, the debugger crashes in some way.
Also, the code is executed even if the debugger hits the breakpoint.
In my terminal and in the debug logs I have the following message, that I believe might show the source of the problem:
I don't know why a WebSocket message would be that size, my app ins't doing crazy stuff, it is quite new. It is just bound to D1, R2 and KV instances.
Anyway, does anybody had this issue or know how I can fix this? By reducing the WebSocket messages size somehow or increasing the messages size limit may be?
Here is my VS Code debug configuration if that may help:
Also, my code runs in WSL (Windows Subsystem for Linux).
Thanks! 🙂
1 Reply
Same problem but from today, i found a issue https://github.com/cloudflare/workers-sdk/issues/5297
it's seems it should be fixed soon
GitHub
🐛 BUG: VSCode debugger doesn't work on Wrangler 3.19 and up · Issue...
Which Cloudflare product(s) does this pertain to? Wrangler core What version(s) of the tool(s) are you using? Wrangler 3.19.0 What version of Node are you using? 20.11.1 What operating system and v...