š Feature Request: [Wrangler 2 Regression] Being able to inspect the worker code
See original GitHub issueDescribe the solution
Wrangler 1 was generating the worker code locally on my machine, and added the worker code to my source tree, so I could easily inspect it.
Wrangler 2 most likely also generates the worker code locally on my machine, but I canāt find where it then lives? Is it written to the filesystem somewhere? Being able to inspect the worker code is paramount for debugging.
I know I can inspect the worker code on couldflare.com
ās UI but thatās quite inconvenient.
(Btw. wrangler 2 is much better than wrangler 1, nice job š.)
Issue Analytics
- State:
- Created a year ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
a new developer experience for Cloudflare Workers - Noise
How does this work? Recently, we announced that Miniflare (created by Brendan Coll), a project to locally emulate Workers in Node. js, hasĀ ......
Read more >YRS - River Thames Conditions
Soundcloud will not open, Aarhus university business school, Studio 2 st martins lane, ... Jdk8 features, Directed arp request, Swavelle textiles.
Read more >Untitled
China wok columbia sc menu, 2 view kub, Index of refraction online ... Shunk pa zip code, Sat ii world history practice test...
Read more >Untitled
Martin blankemeyer email, Archival print protectors, Schwannoma vestibular derecho, P0451 ford code, Psk importer maya, Actors 2013 male, Glera cervicalaĀ ...
Read more >Available CRAN Packages By Date of Publication
2022-12-22, highr, Syntax Highlighting for R Source Code ... 2022-11-18, CORElearn, Classification, Regression and Feature Evaluation.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
With beta itās still off:
Error thrown while running
$ wrangler dev
:The worker code generated by
$ wrangler publish --dry-run
:Note how
handleTelefunc()
lives at line500
which doesnāt match the stack trace.Neat & I can confirm that works:
I can start debugging now. And, yes, I think itād be great to document this. This makes debugging 10x more fun.
(FYI Iām debugging Telefuncās Cloudflare support.)
Thanks! I guess we can close this then.
Could you try with the @beta version? We landed a fix for error stacks that weāll release next week. Alternately, if youāre using a custom build, you can skip wranglerās bundling altogether with
--no-bundle
(in both dev and publish)