Selenium/How-to/Debug with Visual Studio Code

This tip works if you're targeting:
 * a local MediaWiki
 * MediaWiki-Docker
 * MediaWiki-Docker-Dev
 * MediaWiki-Vagrant
 * a remote wiki
 * Beta cluster

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