I am trying to configure Indigo so I can debug PHP in eclipse. I have looked at a ton of different tutorials and blogs online that try to explain it but none work so far. I am using Ubuntu 11.04 and I use a generic LAMP stack with PHP 5.3.3 executables configured in eclipse.
Does anyone have a good guide for installing Zend or XDebug in Eclipse Indigo?
Ok so this is something I posted a while back which took a while to figure out. I got it working in Helios but it has worked for me in Indigo also: Can I link the Zend PDT (eclipse) to a browser action?
Related
I´m starting working with PHP on Eclipse and I´m having a bad time with XDebugger. This is my first time setting up this enrironment...
I´m running Eclipse 3.8.1 with PHP Development Tools SDK (I have also C++ installed on this Eclipse).
I´ve followed the instruction from the official xdebug site to install XDebug. It seens to be installed fine, as we can see from a phpinfo() call:
Well, once installed, I go to Eclipse, insert my breakpoints on the code, configure the debug configuration and when I call Debug As->PHP Web Application all I get is an empty window on Firefox with the following link:
http://localhost/myproject/index.php?XDEBUG_SESSION_START=ECLIPSE_DBGP&KEY=14380396300041
Absolutely nothing happens neither to Eclipse or on Firefox.
Here is my configuation for debugging:
PS: I haven´t installed anything related to ZEND. Is it necessary ? Here is a error I get when using the Zend Debugger option:
Help appreciated!!! Hope this will be basic learning for solving...
To debug on zend debugger, you need zend debugger installed.
For xdebug remote debugging (browser run) you have to enable dbgp protocol:
https://wiki.eclipse.org/Debugging_using_XDebug#Configuration
I've been trying to get a php debugger for the last 2 days.
I ended up with xampp localhost-package and I'm pretty satisfied with it.
I just can't get any debugging to work.
Initially I tried to install xDebug, as was suggested here.
But that tutorial seems to be outdated. I tried couple other forum thread tutorials but couldn't get anything to work, with regards to xdebug. So abandoned xDebug and decided to stick with Zend because "it comes default" with xampp.
As far as I can tell, Zend Debugger doesn't come default with Xampp, I tried debugging with Eclipse, through my localhost server and it doesn't recognise the variables.
So I saw someone using a different version of Eclipse called "Zend Eclipse" and thought "surely that version has a default zend". I don't think it does, bugger if I know. I tried to "test" for zend debugger when creating a new debugging config and it says it's not installed.
Can anyone point me in the right direction of how to actually get Zend Debugger to run with Eclipse and Xampp?
Or..
Just tell me what you prefer to use for php debugging.
At this point, I don't care what I use, as long as it helps me debug my source code.
Thank you for your time.
Any help will be appreciated.
Regards,
James
I am new to php and running php on my system .
As IDE I am using
Eclipse for PHP Developers
Version: Helios
As server I am using : WAMPSERVER
Basically on eclipse I link my php project to one I have placed in www folder of wamp installation. I do all development in eclipse and then run the project on wampserver.
What I am not able to do is debug the code at all. I want to use breakpoints debugging as I could in Java programming using eclipse.
Please help, I have seen so many threads about xdebug and zend debug, but these have been of no help to me,
Any help is appreciated, let me know if I am doing everything wrong as in using both eclispse and wamp separately.
Thanks
Just wondering if you anybody has had much luck getting XDebug working for Drupal 6.14 on Snow Leopard?
I noticed that Snow Leopard seems to come with php 5.3 which some people say should work with Drupal 6.14, though I haven't had any luck.
After that failed, I tried installing php 5.2 using macports (checking out from CVS at a previous revision number). This works fine for php. However, I have had no such luck getting XDebug going.
Any thoughts???
Thanks!
If xdebug is enabled it should show up if you execute a phpinfo();. After xdebug is configured properly you can connect to it using Netbeans. Download the php version here: NetBeans Download. You will have to create a project and point netbeans to your Drupal install. After that you can set breakpoints and press run.
I created a step by step instruction on how to install and enable Xdebug with Netbeans:
http://lucwollants.wordpress.com/2010/10/10/xdebug-and-snow-leopard-more-cake/
Hope this can also help!
Is it possible to debug PHP projects on Glashfish with NetBeans 6.8 without installing Apache server?
After I press CTRL+F5 im getting 404 not found error.
As ASP.NET developer I have (I think) similiar developer server bundled with Visual Studio, so there is no need to install any other server like IIS. Am I right that Glassfish is similiar developer server, so why Im getting 404?
Thanks
Darek
From Netbeans page.
To successfully debug PHP applications in the NetBeans IDE for PHP, you need to have the PHP engine, the Apache local web server, and the XDebug debugger installed and configured for PHP development. If you have difficulties getting XDebug to work, see the NetBeans wiki on XDebug and/or ask the community at users#php.netbeans.org.
I hope it helps