Comments (8)
This is needed for proper development, logging to the console is the poor man's debugger, we need something better. As anyone managed to get this working, possibly with VS Code? Or this just not possible for now? π€
from workers-sdk.
Unfortunately this isn't ready yet (that PR doesn't fully support what we'd need). It's on our roadmap though, and it's definitely something we're looking to fix in the future.
from workers-sdk.
saving people some time from reading thru a bunch of the above - the vscode + wrangler instructions you need are here. https://blog.cloudflare.com/debugging-cloudflare-workers#breakpoints
from workers-sdk.
This issue has been automatically marked as stale because it has not had recent activity in the last 180 days. It will be closed if no further activity occurs in the next week. Please feel free to comment if you'd like it to remain open, and thank you for your contributions.
from workers-sdk.
This issue has been automatically closed because it has not had recent activity. You may re-open the issue if it is still relevant.
from workers-sdk.
Hello. Now with wrangler using workerd locally, is that easier to implement?
from workers-sdk.
With this PR merged it seems to be possible:
from workers-sdk.
Closing this in favour of cloudflare/workerd#371, which tracks the work needed here for breakpoint debugging support in local mode.
from workers-sdk.
Related Issues (20)
- π Feature Request: Allow to include secrets in wrangler's automatically generated type definitions HOT 2
- π BUG: No types generated for pages secrets
- π Feature Request: Serverless docker containers
- π Feature Request: console.trace support HOT 1
- π BUG: console.trace support (regression) HOT 1
- π BUG: Using `wrangler d1 export` with `--no-schema` or `--no-data` options are incorrectly parsed
- π BUG: D1_ERROR: Wrong number of parameter bindings for SQL query HOT 2
- π BUG: vitest-pool-workers: Pages project with `pages_build_output_dir` in `wrangler.toml` fails
- π Feature Request: Running dev-registry in a separate process and make the host:port of the dev-registry configurable when running wrangler dev
- π BUG: D1 via miniflare doesn't accept Buffer type for blobs
- π Feature Request: Override `http://placeholder` url in miniflare fetch proxy HOT 2
- π BUG: Error with wrangler dev and HTTPS localhost sub-requests
- start to collectedπ Feature Request:
- π BUG: D1 Database triggers bypass D1 data type validation
- π BUG: `WorkerEntrypoint` requires a handler to be uploaded HOT 1
- π BUG: `fetchMock` does not intercept `fetch` in a service binding worker HOT 2
- π BUG: C3 NextJS setup via Yarn commits files too large to push to GitHub HOT 1
- π Feature Request: Provide `--latest-version` flag to allow `wrangler versions deploy` to deploy latest worker version
- π BUG: Fails to install with pnpm 9.1.0 HOT 1
- π BUG: Durable Object API response data is in console visible
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from workers-sdk.