使用Eclipse调试PHP应用

143 阅读1分钟

(1) Install WAMPServer:

Change Apache server default port 80 to another port:

configuration: \bin\apache\apache2.4.9\conf\httpd.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的原创文章,请关注公众号"汪子熙":