Skip to Content
Author's profile photo Jerry Wang

Enable PHP debugging in Eclipse

1. Install WAMPServer:

/wp-content/uploads/2016/03/clipboard1_902313.png

Change Apache server default port 80 to another port:

/wp-content/uploads/2016/03/clipboard2_902314.png

configuration: <installation folder>\bin\apache\apache2.4.9\conf\httpd.conf

/wp-content/uploads/2016/03/clipboard3_902333.png

2. In Eclipse, specify PHP Executable:

/wp-content/uploads/2016/03/clipboard4_902334.png

debug setting:

/wp-content/uploads/2016/03/clipboard5_902335.png

Create a new debug configuration:

/wp-content/uploads/2016/03/clipboard6_902336.png

/wp-content/uploads/2016/03/clipboard7_902337.png

/wp-content/uploads/2016/03/clipboard8_902338.png

/wp-content/uploads/2016/03/clipboard9_902342.png

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:

/wp-content/uploads/2016/03/clipboard10_902343.png

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.