Debug your tests One of the most popular things done by developers is to debug the code using console.log.But today I want to show you how to debug your Playwright tests. Let's start with the Playwright Inspector.Using the option --debug when you run...

Markdown supported · ⌘↵ to post
Michael Weber
Great tips, Luca! Visual Studio Code integration is definitely a lifesaver compared to writing a million console logs.
While local breakpoints work perfectly, things usually get tricky when tests fail silently in headless CI runners. I often refer to this guide on handling post-mortem tracing and debugging: testomat.io/blog/debugging-tracing-playwright-fea… because it covers how to tackle those remote container errors. Thanks for the quick guide!