- Install web service server
- Download and install Xdebug of VS core, with correct version of xdebug php plugin and add follow in php.ini
zend_extension = xdebug [XDebug]
xdebug.mode = debug
xdebug.start_with_request = yes - In the PHP debug, click the setting and edit settings.json and add the follow
“php.debug.executablePath”: “[php.exe location]”,
“php.validate.executablePath”: “[php.exe location]”, - run debug directly