Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

docs(debug): add instructions for debugging tests using Chrome DevTools (#35394)

Max Schmitt2c0e1e5e3ac5
diff --git a/docs/src/debug.md b/docs/src/debug.md
index 69066af0be..659b0a87b7 100644
--- a/docs/src/debug.md
+++ b/docs/src/debug.md
@@ -44,6 +44,10 @@ A browser window will open and the test will run and pause at where the breakpoi
<img width="1269" alt="running test in debug mode" src="https://user-images.githubusercontent.com/13063165/212740233-3f278825-13e7-4a88-a118-dd4478d43a16.png" />
+### Debug Tests Using Chrome DevTools
+
+Instead of using `Debug Test`, choose `Run Test` in VS Code. With `Show Browser` enabled, the browser session is reused, letting you open Chrome DevTools for continuous debugging of your tests and the web application.
+
### Debug in different Browsers
By default, debugging is done using the Chromium profile. You can debug your tests on different browsers by right clicking on the debug icon in the testing sidebar and clicking on the 'Select Default Profile' option from the dropdown.