Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
title: Set breakpoints and debug your Workers tests with @cloudflare/vitest-pool-workers
description: You can now debug your workers tests with the Workers <> Vitest integration
products:
- workers
date: 2025-03-14T14:00:00Z
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@irvinebroque Any preference on when this should be published? I scheduled it for Friday just to allow some buffer for approval.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ship anytime!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will publish this at 2pm GMT today 👍🏼

---

You can now debug your Workers tests with our [Vitest integration](/workers/testing/vitest-integration/) by running the following command:

```sh
vitest --inspect --no-file-parallelism
```

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.

Learn more in our [documentation](/workers/testing/vitest-integration/debugging/).
Loading