使用Eclipse调试PHP应用

(1) Install WAMPServer:

Change Apache server default port 80 to another port:

configuration: inapacheapache2.4.9confhttpd.conf

(2) In Eclipse, specify PHP Executable:

debug setting:

Create a new debug configuration:




(3) Then launch the application via url: http://localhost:8098/jerry/newfile.php?XDEBUG_SESSION_START=ECLIPSE_DBGP&KEY=14572383566191
Then debugger is launched automatically:

要获取更多Jerry的原创文章,请关注公众号"汪子熙":

原文地址:https://www.cnblogs.com/sap-jerry/p/13639109.html