-
Notifications
You must be signed in to change notification settings - Fork 779
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
🐛 BUG: VSCode debugger doesn't work on Wrangler 3.19 and up #5297
Comments
/cc @admah |
Just an update, on my original submission only tested on Windows. |
@mrbbot @admah this refactoring https://github.com/cloudflare/workers-sdk/releases/tag/wrangler%403.19.0 ==> this is the commit that broke the vscode step debugger |
@mrbbot @admah Ok, i narrowed to the same reported problem here: the only workaround is to downgrade to v3.18. (3.19 and above is all broken) running the command [ npx wrangler dev --log-level debug ]
other people have report same problem here on discord: |
Hey devs - you kind of need to fix this. The debugger doesn't work for codebases over a certain (but still reasonable size). That means any of the work you've done past 3.18 isn't usable to anybody who needs a debugger. Please prioritize accordingly. |
We have a fix in-progress for this in workerd cloudflare/workerd#2164 Once that lands, we will make wrangler set that flag when running workerd, which should fix this 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 version are you using?
Windows
Describe the Bug
Observed behavior
VSCode debug doesn't work anymore since Wrangler 3.19
The breakpoint is hit, but it continue executing instead of pausing the execution.
Expected behavior
Make VSCode debug work again.
Steps to reproduce
Please provide the following:
Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
No response
The text was updated successfully, but these errors were encountered: