Debugging PHPUnit with VS Code
Add the following to the CLI php.ini file. Note: this is not the same as the one Apache uses in WAMP/MAMP etc. Also note the use of port 9001 instead of the usual 9000 we use for normal PHP debugging. Add the following to your launch.json file, and click PHPUnit from the dropdown to start …