使用Eclipse除錯PHP應用

i042416發表於2020-09-14

(1) Install WAMPServer:


使用Eclipse除錯PHP應用


Change Apache server default port 80 to another port:


使用Eclipse除錯PHP應用


configuration: \bin\apache\apache2.4.9\conf\httpd.conf


使用Eclipse除錯PHP應用


(2) In Eclipse, specify PHP Executable:


使用Eclipse除錯PHP應用


debug setting:


使用Eclipse除錯PHP應用


Create a new debug configuration:


使用Eclipse除錯PHP應用 使用Eclipse除錯PHP應用 使用Eclipse除錯PHP應用 使用Eclipse除錯PHP應用


(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:


使用Eclipse除錯PHP應用


要獲取更多Jerry的原創文章,請關注公眾號"汪子熙":

使用Eclipse除錯PHP應用


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24475491/viewspace-2719300/,如需轉載,請註明出處,否則將追究法律責任。

相關文章