Waiting for the XDebug Session 57% in Eclipse PDT

前端 未结 7 1760
野性不改
野性不改 2020-12-15 23:34

Browsing the hints when I write this message it seems this is a tough question with all kind of patches, but no clear answer ... Anyway, I try my chance, here it is. I\'m us

7条回答
  •  心在旅途
    2020-12-15 23:38

    I was struggling to setup xdebug and eclipse for an age.

    I use ubuntu 12.04 on a 32bit system. To setup the latest version of eclipse (juno) and the lamp tech stack i can strongly recommend this tutorial. There's a very good guide for setting up virtual hosts, too - script included.

    Instead of following their section on installing xdebug, rather use xdebug's custom installation instructions referred to by @hakre in a related post.

    Once xdebug shows up in the phpinfo output, you can continue by setting up eclipse for xdebug as described in the tutorial mentioned before.

    If it still doesn't work make sure you

    • have read the answer above
    • xdebug's port is free and matches eclipse's debug configuration -> server tab -> server section -> configure button (9030 by default!)

    and try

    • cutting the quotes from the zend_extension property within your php.ini file
    • putting all your xdebug-settings in your php.ini file - i dont have a xdebug.ini file in use.
    • repeating the filename within eclipse debug-configuration -> server tab -> url section -> last input field as shown below.

    enter image description here

提交回复
热议问题