VS 코드에서 PHP 디버깅을 설정하려고합니다. 청취자가 응답 할 수없는 것 같습니다. 여기 내 설정은 다음과 같습니다Felix Becker가 PHP 디버그 1.11.1을 사용하여 중단 점을 중지하는 데 문제가 있습니다.
php.ini 파일 :
[XDebug]
xdebug.remote.enable=1
xdebug.remote.autostart=1
zend_extension="C:\xampp\php\ext\php_xdebug-2.5.4-5.5-vc11.dll"
아파치 - vhosts.conf
<VirtualHost *:80>
DocumentRoot "E:/gator4123/public_html"
ServerName localhost
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "E:/gator4123/public_html/winemakerssoftware.com"
ServerName wms.localhost
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "E:/gator4123/public_html/dianestevenslaw.com"
ServerName law.localhost
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "E:/gator4123/public_html"
ServerName rwd.localhost
</VirtualHost>
launch.json :
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Listen for XDebug",
"type": "php",
"request": "launch",
"port": 9000,
"serverSourceRoot": "E:/gator4123/public_html",
"localSourceRoot": "${workspaceRoot}/",
"log": true
},
{
"name": "Launch currently open script",
"type": "php",
"request": "launch",
"program": "${file}",
"cwd": "${fileDirname}",
"port": 9000
}
]
}
내 실제 루트 위치 :
E:\gator4123\public_html
나는이 두 URL을 모두 시도해보고 동일한 응답, 즉 대기를 얻었습니다. 디버깅을 시작할 때 연결이 완료되면 메시지가 출력되지 않습니다. 내가 놓친 뭔가 <- launchResponse Response { seq: 0, type: 'response', request_seq: 2, command: 'launch', success: true }
http://localhost
http://rwd.localhost
있습니까 :
응답을 시작?