Manual:How to debug/with MediaWiki-Vagrant and vscode

Before starting, make sure you have configured your vagrant to support Xdebug (MediaWiki-Vagrant/Advanced usage)
 * 1) Install xdebug adapter extension in your vscode, https://github.com/felixfbecker/vscode-php-debug
 * 2) Set your vscode workspace to open    directory (by clicking on the  ), and ensure that the vagrant is running.
 * 3) Create a new   for PHP by pressing CTRL+SHIFT+D (to switch to debug tab), then click on the gear button, then select "PHP".
 * 4) Edit the   file by clicking on the gear button in the debug tab (if it not opened yet).
 * 5) Set   option:
 * 6) Add a   item to the configurations (will be used to map the development files on the vagrant to your computer), further explanation about this is available at https://github.com/felixfbecker/vscode-php-debug#remote-host-debugging.
 * 7) In the   create a new object that contains   that maps to your vagrant directory, and   that maps to   (in the vagrant directory). So the  option would be:   In the  option above  points to the vagrant directory in your PC (vscode will replace it automatically with the current workplace, so set your vscode to open  directory), or you can hardcode the  to your mediawiki-vagrant directory.
 * 8) So the   will look like:
 * 9) Try to debug by switching to the debug tab in vscode then click on the green (play) button (for shorter version you can do this by pressing  ). Set a breakpoint in the MediaWiki code, for example  . Then open your MediaWiki in your browser.
 * 10) If the debug test success, you're good to go!
 * 1) If the debug test success, you're good to go!