docs(debug): add instructions for debugging tests using Chrome DevTools (#35394)
This commit is contained in:
parent
8896454cdf
commit
2c0e1e5e3a
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue