This tracks the implementation of debugging tools for `wrangler dev`. - [x] Hit the `D` hotkey when developing, to open a hosted devtools at `built-devtools.pages.dev` - [x] Open `chrome://inspect` on chrome, or `edge://inspect` on edge, and follow the instructions there to open the browser devtools inspector. - [ ] Connect vscode debugger to the inspector and debug inside your IDE directly. ### Features - [x] See `console.log(...)`/`console.error(...)` objects in the Console tab - [ ] Profile your workers following the steps in https://developers.cloudflare.com/workers/learning/profiling-workers - [x] #1315 - [ ] Support breakpoints - [ ] Enable the Network tab, so you'll be able to see and inspect subrequests that your worker makes - [ ] Support debugging websockets requests
This tracks the implementation of debugging tools for
wrangler dev.Dhotkey when developing, to open a hosted devtools atbuilt-devtools.pages.devchrome://inspecton chrome, oredge://inspecton edge, and follow the instructions there to open the browser devtools inspector.Features
console.log(...)/console.error(...)objects in the Console tab