Another xdebug gotchya (w/solution) [message #24561] |
Wed, 30 May 2007 01:06 |
Eclipse User |
|
|
|
Some background:
I am running Eclipse on Windows and debugging an app running on a Linux
server.
My project looks something like this (example folder names):
project/ -- Eclipse project folder
somelibs/ -- some library files outside of the document root
html/ -- this is the document root
index.php
I found that I could get xdebug to stop on the first line and I could
step through code, but I could not get it to stop on breakpoints.
In a scenario like this, you will need Dave's simple mapper, but here is
the gotchya - the "HTDocs" tab is a little misleading. In this case, you
don't want to specify the location of the html directory, but rather the
location of the project directory (as seen by the server, e.g.,
"/home/somebody/myprojects/project").
I left "Context Root" blank.
|
|
|
Powered by
FUDForum. Page generated in 0.04847 seconds