Skip to content
Cloudflare Docs

Changelog

New updates and improvements at Cloudflare. Subscribe to RSS

hero image

Set breakpoints and debug your Workers tests with @cloudflare/vitest-pool-workers

Mar 13, 2025, 02:00 PM

You can now debug your Workers tests with our Vitest integration by running the following command:

Terminal window
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.