You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
title: Set breakpoints and debug your Workers tests with @cloudflare/vitest-pool-workers
3
+
description: You can now debug your workers tests with the Workers <> Vitest integration
4
+
products:
5
+
- workers
6
+
date: 2025-03-13T14:00:00Z
7
+
---
8
+
9
+
You can now debug your Workers tests with our [Vitest integration](/workers/testing/vitest-integration/) by running the following command:
10
+
11
+
```sh
12
+
vitest --inspect --no-file-parallelism
13
+
```
14
+
15
+
Attach a debugger to the port 9229 and you can start stepping through your Workers tests. This is available with `@cloudflare/vitest-pool-workers` v0.7.5 or later.
16
+
17
+
Learn more in our [documentation](/workers/testing/vitest-integration/debugging/).
0 commit comments