CL looks like it could be really useful to me but, unfortunately, I have not been able to get the PHP Debug feature to work. I think I'm close but I'm missing something...
I'm using XAMPP on a Win XP machine. The debug settings are:
Virtual folder: c:\xampp\htdocs\
Virtual host URL:
htt://localhost/ (left out the 'p')
Path to php.ini: c:\xampp\apache\bin\
PHP Version: 5.1.2
Web Server: Apache2.2
Debugger port: 6000
I'm testing a site starting with
index.htm where I choose a link to another page
search.php
The link has a GET variable and I set a breakpoint in
search.php to check the value of this variable.
So in CL I have these two pages
index.htm and
search.php open in code view. With the focus on
index.htm I hit the Debug button, F5. The page opens in my browser. I choose the link to
search.php and that page opens in the browser.
I now go to CL and look at
search.php in code view but there is no indication that we have stopped at the breakpoint. I added the variable to the Watch window but it says "Item not found" for the value.
Am I doing something wrong? Any clues would be appreciated - thanks!
John