Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » How to use the PHP debugger under XAMPP
How to use the PHP debugger under XAMPP [message #967437] Thu, 01 November 2012 15:15
Alfred Molon is currently offline Alfred Molon
Messages: 1
Registered: November 2012
Junior Member
Hi,

I'm using XAMPP on my PC (Vista 64 bit) as a local Apache server. The PHP version is 5.3.8.

I tried to install Eclipse (eclipse-php-3.0.2.v20120611144-Win32) in order to use it as a PHP debugger, but haven't so far figured out how to get the debugger to work.

More specifically I want to be able to move step by step through PHP scripts and to check the values of variables. I was hoping to get away from this orgy of "echo $something" statements which so far I have been placing everywhere in the code to find the bugs.

I've done a web search and tried many different things, but so far the debugger doesn't seem to work. It runs the scripts until the end without stopping before or displaying disgnostic information.

Assuming the document root is for instance in C:\Root, do I place the eclipse files into the folder C:\Root\eclipse?

Following some advice on a site I tried adding this to httpd.conf:

Alias /eclipse "C:/Root/eclipse/"
<Directory "C:/Root/eclipse/">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

and restarting Apache. But it didn't help.

Another question, I have a bunch of already existing PHP scripts under C:\Root, how do I put them into an Eclipse project?

And what is this workspace directory Eclipse is asking for? Do I set it to C:/Root/eclipse/, C:/Root/ or what else?
Previous Topic:Get Eclipse to automatically convert smart characters
Next Topic:Probleme billing informations on methods and functions
Goto Forum:
  


Current Time: Thu Jul 10 11:21:19 EDT 2014

Powered by FUDForum. Page generated in 0.03461 seconds