Selenium/How-to/Debug with Visual Studio Code

This tutorial will assume that you are running tests from your machine, targeting MediaWiki-Docker.

launch.json
Create  file.

Note: This file will work only with WebdriverIO v5 or above.

Make the browser visible
To make the browser visible, see Selenium/How-to/Make the browser visible.

Run Selenium tests
Open a file in  folder in VSCode. Click.

More information

 * Debugging with Visual Studio Code (VSCode)
 * Node.js debugging in VS Code