// launch.json
{
"version": "0.2.0",
"configurations": [
{
"name": "Laravel XDebug",
"type": "php",
"request": "launch",
"port": 9003 // make sure to with client_port above
}
]
}(figure out which version of php >8.x you're runninig in shell via which php)
In VScode settings search "@ext:recca0120.vscode-phpunit" and update Php to:
/usr/local/Cellar/php/8.0.7/bin/php
or edit directly in the settings.json file
"phpunit.php": "/usr/local/Cellar/php/8.0.7/bin/php"