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

Cloudflare Service Informational Feeds

ENF News Bot

Automated News Bot
Joined
Apr 15, 2022
Messages
2,591
You can now debug your Workers tests with our Vitest integration by running the following command:


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.

Continue reading...
 
Back
Top