I have my project setup and unit testing works, however I can't debug or run individual tests. When I click on the debug icon next to an individual test I get the error:
Error running command phpTools.phpUnit.debug: Cannot read property 'info' of undefined. This is likely caused by the extension that contributes phpTools.phpUnit.debug.
Similar error when clicking on run test. The show source button works at least. I have PHPTools 1.0.4394 installed. I am running VSCode on a remote development machine using Miscrosoft's Remote Development extension. Nothing appears in any log files that I can see either.
Here is my composer.json as well:
{
"require": {
"authorizenet/authorizenet": "1.9.3",
"ddeboer/imap": "*",
"ext-curl": "*",
"friendsofphp/php-cs-fixer": "*",
"google/apiclient": "^2.0",
"jelix/wikirenderer": "^3.1",
"mobiledetect/mobiledetectlib": "^2.8",
"php": ">=7.0",
"phpmailer/phpmailer": "~6.0",
"phpoffice/phpspreadsheet": "*",
"phpoffice/phpword": "*",
"phpseclib/phpseclib": "~2.0",
"phpunit/php-invoker": "*",
"phpunit/phpunit": "^9",
"roave/better-reflection": "dev-master#c87d856",
"shippo/shippo-php": "1.*",
"smarty/smarty": "~3.1",
"spatie/pdf-to-text": "*",
"squizlabs/php_codesniffer": "^3.5",
"tburry/pquery": "^1.1",
"textalk/websocket": "^1.2",
"norgul/xmpp-php": "^2.2",
"mailjet/mailjet-apiv3-php": "^1.4",
"league/oauth2-google": "^3.0"
},
"repositories": [{
"type": "vcs",
"url": "https://github.com/goetas/serializer.git"
}]
}