0
STEPS
Downloaded Xdebug - PHP VC 11 64 bit [Didn't download TS version - ]
我的PHP 5.6.11是VC 11
Added zend extensions with right dll path
啓動服務器。 Zend擴展被添加。用phpinfo()
Downloaded Eclipse PDT
Opened Eclipse and created new project and given path to my files
Localhost server so didn't change PHP->Servers
Debug configurations
Changed server to XDebug
Added a file to debug
啓動服務器。它在Mozilla [I changed default web browser to mozilla in eclipse
]
打開但它並沒有在我的斷點
<?php
$x = 2;
$y = 5;
$z = $x + $y;
echo $z;
?>
停止我錯過任何一個步驟?或者有沒有其他的方式來實現PHP的調試? 有何建議?
您是否使用WAMPServer或XAMPP還是你安裝Apache/PHP單獨 – RiggsFolly
@RiggsFolly號它的Apache,PHP,MYSQL的手動設置。 –
PHP作爲Apache模塊或FastCGI運行 – RiggsFolly