|
1 | 1 | # wrangler
|
2 | 2 |
|
| 3 | +## 3.9.0 |
| 4 | + |
| 5 | +### Minor Changes |
| 6 | + |
| 7 | +- [#3951](https://github.com/cloudflare/workers-sdk/pull/3951) [`e0850ad1`](https://github.com/cloudflare/workers-sdk/commit/e0850ad1ebfbb775a78339136e3a2c571d80e566) Thanks [@mrbbot](https://github.com/mrbbot)! - feat: add support for breakpoint debugging to `wrangler dev`'s `--remote` and `--no-bundle` modes |
| 8 | + |
| 9 | + Previously, breakpoint debugging using Wrangler's DevTools was only supported |
| 10 | + in local mode, when using Wrangler's built-in bundler. This change extends that |
| 11 | + to remote development, and `--no-bundle`. |
| 12 | + |
| 13 | + When using `--remote` and `--no-bundle` together, uncaught errors will now be |
| 14 | + source-mapped when logged too. |
| 15 | + |
| 16 | +* [#3951](https://github.com/cloudflare/workers-sdk/pull/3951) [`e0850ad1`](https://github.com/cloudflare/workers-sdk/commit/e0850ad1ebfbb775a78339136e3a2c571d80e566) Thanks [@mrbbot](https://github.com/mrbbot)! - feat: add support for Visual Studio Code's built-in breakpoint debugger |
| 17 | + |
| 18 | + Wrangler now supports breakpoint debugging with Visual Studio Code's debugger. |
| 19 | + Create a `.vscode/launch.json` file with the following contents... |
| 20 | + |
| 21 | + ```json |
| 22 | + { |
| 23 | + "configurations": [ |
| 24 | + { |
| 25 | + "name": "Wrangler", |
| 26 | + "type": "node", |
| 27 | + "request": "attach", |
| 28 | + "port": 9229, |
| 29 | + "cwd": "/", |
| 30 | + "resolveSourceMapLocations": null, |
| 31 | + "attachExistingChildren": false, |
| 32 | + "autoAttachChildProcesses": false |
| 33 | + } |
| 34 | + ] |
| 35 | + } |
| 36 | + ``` |
| 37 | + |
| 38 | + ...then run `wrangler dev`, and launch the configuration. |
| 39 | + |
| 40 | +### Patch Changes |
| 41 | + |
| 42 | +- [#3954](https://github.com/cloudflare/workers-sdk/pull/3954) [`bc88f0ec`](https://github.com/cloudflare/workers-sdk/commit/bc88f0ec0f46bcf4f8204239ff7e14aa3fe11990) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - update `wrangler pages dev` D1 and DO descriptions |
| 43 | + |
| 44 | +* [#3928](https://github.com/cloudflare/workers-sdk/pull/3928) [`95b24b1e`](https://github.com/cloudflare/workers-sdk/commit/95b24b1eb986fb73a2b87c5a0eecc32a607e7331) Thanks [@JacobMGEvans](https://github.com/JacobMGEvans)! - Colorize Deployed Bundle Size |
| 45 | + Most bundlers, and other tooling that give you size outputs will colorize their the text to indicate if the value is within certain ranges. |
| 46 | + The current range values are: |
| 47 | + red 100% - 90% |
| 48 | + yellow 89% - 70% |
| 49 | + green <70% |
| 50 | + |
| 51 | + resolves #1312 |
| 52 | + |
3 | 53 | ## 3.8.0
|
4 | 54 |
|
5 | 55 | ### Minor Changes
|
|
0 commit comments