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

🚀 Feature Request: Add --dry-run to wrangler pages to be able to inspect and debug worker code #7885

Open
brillout opened this issue Jan 23, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@brillout
Copy link

Describe the solution

This option wrangler publish --dry-run --outdir <path> was mentioned at #1580 to be able to access the worker code.

Something like this for wrangler pages would be great. Without this, I don't know how I can debug worker code that isn't working.

@0xD34DC0DE
Copy link

0xD34DC0DE commented Jan 24, 2025

While digging into the code for wrangler for another issue, I stumbled across wrangler pages functions build which is documented as being hidden from the help output. This command builds the worker for the pages functions.

Edit: Typo in wrangler

@edmundhung edmundhung removed this from workers-sdk Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants