Skip to content

Commit b1636d8

Browse files
authored
Apply suggestions from code review
1 parent b02aed8 commit b1636d8

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/content/changelog/workers/2025-05-21-vite-plugin-chrome-devtools.mdx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,12 @@ When you run `vite`, you'll now see a debug URL in your console:
2323
➜ press h + enter to show help
2424
```
2525

26-
Open the URL in Chrome, and an instance of Chrome Devtools will open and connect to your Worker running locally. You can use this to:
26+
Open the URL in Chrome, and an instance of Chrome Devtools will open and connect to your Worker running locally. You can then use Chrome Devtools to debug and introspect performance issues. For example, you can navigate to the Performance tab to understand where CPU time is spent in your Worker:
27+
28+
![CPU Profile](~/assets/images/workers/observability/profile.png)
29+
30+
For more information on how to get the most out of Chrome Devtools, refer to the following docs:
2731

28-
- View logs directly in the console
2932
- [Debug code by setting breakpoints](/workers/observability/dev-tools/breakpoints/)
3033
- [Profile CPU usage](/workers/observability/dev-tools/cpu-usage/)
3134
- [Observe memory usage and debug memory leaks](/workers/observability/dev-tools/memory-usage/)

0 commit comments

Comments
 (0)