Starbow Consulting
Starbow Consulting
Home Tao's Blog Contact Search
Home
Tao's Blog
Contact
Search
Home » Blogs » tao's blog Setting up Eclipse PDT and XDebug Submitted by tao on Thu, 2007-02-08 12:57 Drupal eclipse php Update (since a lot of people still seem to be coming to this page): The latest version of PDT is 1.0.2, which works with Eclipse 3.3, and it is excellent. The Xdebug plugin is now part of the core package, and the instructions on how to use it are part of the standard help. I decide to move into the word of real-time debugging today. I have been using the PHPEclipse plug in, but I could not find a 5.1.4 version of the debugger it uses. Fortunately, I was able to get the eclipse PDT (formally PhpIDE) working with XDebug. Pull down the PDT 0.7RC2 all-in-one (includes Eclipse 3.2 ) – http://download.eclipse.org/tools/php/downloads/ Get XDebug (RC3) to match my php (Windows, 5.1.4) – http://xdebug.org/link.php?url=xdebug200rc3-512-win Install XDebug – I am using xampp, so I save the XDebug dll in xampp_path\php\extensions. Enable XDebug – Modified xampp_path\apache\bin\php.ini – comment out existing zend_extension_ts and add [xdebug] xdebug.remote_enable=1<br/>xdebug.remote_host="localhost" xdebug.remote_port=9000<br />xdebug.remote_handler="dbgp" zend_extension_ts="xampp_path\php\extensions\php_xdebug-2.0.0rc2-5.1.2.dll" Restart apache, and check phpinfo() to make sure XDebug has been successfully installed Get Dave Kelsey’s XDebug for PDT plugin (version 0.1.3) – https://bugs.eclipse.org/bugs/show_bug.cgi?id=169408 Copy plug-in files into Eclipse plugin directory I needed to convert my phpeclipse projects into PDT projects. Close the projects, and edit their .project files, changing their natures to <nature>org.eclipse.php.core.PHPNature</nature> , then reopen the projects Lastly, follow the excellent directions in the XDebugPHPIDEGuide.pdf online help to set up a Debug web launch and debug away. tao's blog Add new comment #1 Submitted by Anonymous on Sat, 2007-02-17 16:56. Link to XDebugPHPIDEGuide.pdf ?? I can't find a link to the pdf document using google?? I am also not having luck getting the xdebug successfully installed according to phpinfo() .... I seem to be following your instructions reply #2 Submitted by tao on Tue, 2007-02-20 11:37. It is in the zip XDebugPHPIDEGuide.pdf is included in zip along with the XDebug for PDT plugin (https://bugs.eclipse.org/bugs/show_bug.cgi?id=169408). There are all sorts of ways to screw up the XDebug instillation. It took me about a dozen tries (these notes are as much for me as everyone else). Your versions of XDebug & PHP must be compatible. You need to be sure to modify the correct php.ini file (XAMPP installs 3 of them, check phpinfo). You need to get all the paths correct (don't just copy the string "xampp_path" - you need to use your own install path). And you need to comment out any other references to "zend_extension_ts" in the php.ini file. Those were all stumbling blocks for me. reply #3 Submitted by Anonymous on Fri, 2007-03-23 16:03. Variable value is not encoding correctlly In eclipse ide, the variable value is showing a very strange value, for examle: In code: $msg = "This is a message"; when debuging, in variable windows, the value of the variable $msg is showing this: VGhpcyBpcyBhIG1lc3NhZ2U= what's wrong? thanks Simon reply #4 Submitted by Anonymous on Mon, 2007-03-26 05:03. It happend to me too, after It happend to me too, after last xdebug plugin update reply #5 Submitted by tao on Mon, 2007-03-26 10:15. Not something I have seen Not something I have seen, using the Xdebug plugin labeled: "Prebuilt Binary of XDebug V0.1.3 support for PDT RC2 only". You might try contacting the creator of the plugin. reply #6 Submitted by Anonymous on Fri, 2007-03-30 11:29. How to contact to the creator? Thanks Simon reply #7 Submitted by Anonymous on Sat, 2007-03-31 15:51. Var encoding : V0.1.3 is OK I also had troubles with var encoding using 0.1.4, but everything is OK with previous 0.1.3 - which requires the PDT-RC2 : http://download.eclipse.org/tools/pdt/downloads/?release=S20070130-RC2 Many many thanks to you for this post, tao, it helped me tremendously :-) reply #8 Submitted by tao on Sun, 2007-04-01 00:19. Your welcome And I updated the post to let people know they should still with version 0.1.3. cheers, -t reply #9 Submitted by Anonymous on Fri, 2007-04-06 11:53. I still have the problem with var encoding using V0.1.3 Thanks a lot for the feed back. But I am still having the problem with var encoding using V0.1.3: My environment: OS: Windows XP PHP: 5.2.1 Exclipse: Version: 3.2.1, Build id: M20060921-0945 PDT: 0.7 S20070130-RC2 (0.7.0.v20070130) XDebug: V0.1.3 Would you tell me if php 5.2.1 has the problem? or do I need to do something in php.ini? reply #10 Submitted by Anonymous on Wed, 2008-08-13 08:53. It does look like a Base64 It does look like a Base64 encoding of your variable. Effectively, when you decode the "VGhpcyBpcyBhIG1lc3NhZ2U=" with a Base64Decoder, you obtain : "This is a message". Don't know if that bother you again.. reply #11 Submitted by Anonymous on Mon, 2007-04-23 14:41. Anybody tried this with PDT RC3? I followed the instructions above, substituting PDT RC3 and then the xdebug plugins 0.2.0. The problem for me is that after copying the plugins to Eclipse's plugin directory, I started up PDT and went to preferences->PHP->Debug just like it describes in the documentation and I get the error "Error Creation Extension-Point org.eclipse.php.ui.phpPreferenceBlocks". Anybody else getting a similar error? I'm going to try downgrading and see if that fixes it. reply #12 Submitted by Anonymous on Mon, 2007-04-23 18:10. UPDATE: Downgrading fixed the problem I'm the guy who posted above. When I downgraded to PDT RC2 and plugins 0.1.4 then the problem went away. reply #13 Submitted by Anonymous on Wed, 2007-04-25 03:55. PDT RC3 also causing problems I tried this version and am getting the same error. Have you managed to downgrade yet? If so, was it successful ? reply #14 Submitted by Anonymous on Mon, 2007-04-30 09:24. Which version of Java are Which version of Java are you using ? The Xdebug plugin for RC3 was built using Java 5, so won't work with Java 1.4.2. reply #15 Submitted by Anonymous on Tue, 2007-05-01 02:33. XDebug version 0.2.0 XDebug v0.2.0 requires Java 5 to work, so people having problems with unsupported class version are most likely trying to use Java 1.4.2. reply #16 Submitted by Anonymous on Tue, 2007-05-29 08:38. PHP/Debug window diferent Hi all, I have PDT All-in-One (Eclipse 3.2 + PDT RC3) and my Window/Preferences.../PHP/Debug window is diferent from window showed at page 7 of Dave Debug guide, so I can't set up xdebug in eclipse. Could anybody help me? Thanks in advance reply #17 Submitted by Anonymous on Fri, 2007-07-27 07:51. Re: PHP/Debug window diferent i let eclipse(3.2) search for updates and installed all the updates i received. that made eclipse show me the xdebug-part as it's shown in the PDF. so maybe give that a try. reply #18 Submitted by Anonymous on Fri, 2007-07-20 16:56. Thank you! Thanks for putting this guide together. This was a huge help in setting up my local development instance. My only advice to anyone else -- ensure that you have JDK 1.5 installed. reply #19 Submitted by Anonymous on Sat, 2007-09-08 15:33. Thanks Thanks for your help! One note of caution, though. Extensions is wrongly spelled in your guide as "extentions". Since I copy pasted from here, it took a while for me to figure out why XDebug was not getting installed :) I am still struggling with the install...but will hopefully get there. You guide is very helpful! Thanks. reply #20 Submitted by tao on Sun, 2007-09-09 21:32. Whoops, I have updated the Whoops, I have updated the spelling in the article. Thanks. reply #21 Submitted by Anonymous on Fri, 2007-09-14 09:05. you dont need xdebug Hi, you don't really need xdebug imho. i'm on OSX 10.4.10 first i installed a full pdt build from http://download.eclipse.org/tools/pdt/downloads/?release=S20070910-RC1 then i made an update through the update manager and installed http://www.zend.com/pdt#debugger - Open Eclipse and go to Help-> Software Updates-> Find and Install - Select "Search for new features to install" and click "Next" - Create a New Remote Site with the following details: o Name: PDT o URL: http://downloads.zend.com/pdt - Check the PDT box and click "Next" to start the installation Lastly, make a test project to see if it works : it did work fine on my box ;) reply #22 Submitted by Anonymous on Sun, 2007-12-02 05:37. You are quite right! Thanks a lot. it does work fine on my box, too. babalabo reply #23 Submitted by Anonymous on Sun, 2008-04-27 05:14. PDT debugging hallo can you tell me please, can you debugg mysql-connected scripst too? and when yes, how have you realised it? ( neku@starbowconsulting.com ) thanks in advance for answer reply #24 Submitted by Anonymous on Thu, 2007-11-15 00:32. built-in in PDT 1.0 I found your post when doing some reading before installing Eclipse. When I actually went through the motions, I found that Xdebug is now included in PDT 1.0; no need for a plug-in. FYI for others who go down this path, I posted my notes on my setup (Apache2 & Eclipse on WIn XP) here: http://maarten.livejournal.com/453300.html (Thanks again for your work on BAMcamp!) reply #25 Submitted by Anonymous on Wed, 2007-11-21 10:00. Some changes happened since Some changes happened since PDT v.1 so here they are. Thanks for your help! reply #26 Submitted by Anonymous on Wed, 2008-06-11 21:14. Step by Step guide for PDT+XDebug Here’s a detailed step-by-step article for setting up a PHP debugger using PDT+XDebug: http://robsnotebook.com/php_debugger_pdt_xdebug reply #27 Submitted by Chuck Burgess (not verified) on Tue, 2008-12-09 12:54. Remote CLI Debugging via Eclipse PDT On a related note, I was able to get remote CLI script debugging working in Eclipse, though it doesn't support it natively -- http://thenazg.blogspot.com/2008/12/remote-cli-debugging-via-eclipse-pdt.html reply #28 Submitted by Anonymous (not verified) on Sat, 2010-08-07 04:49. Newer version of PHP does not Newer version of PHP does not work with this. See http://munim.tumblr.com/post/917355998/how-to-setup-xdebug-on-xampp-and-eclipse reply Comment viewing options Flat list - collapsed Flat list - expanded Threaded list - collapsed Threaded list - expanded Date - newest first Date - oldest first 10 comments per page 30 comments per page 50 comments per page 70 comments per page 90 comments per page 150 comments per page 200 comments per page 250 comments per page 300 comments per page Select your preferred way to display the comments and click "Save settings" to activate your changes.
Setting up Eclipse PDT and XDebug Submitted by tao on Thu, 2007-02-08 12:57 Drupal eclipse php Update (since a lot of people still seem to be coming to this page): The latest version of PDT is 1.0.2, which works with Eclipse 3.3, and it is excellent. The Xdebug plugin is now part of the core package, and the instructions on how to use it are part of the standard help. I decide to move into the word of real-time debugging today. I have been using the PHPEclipse plug in, but I could not find a 5.1.4 version of the debugger it uses. Fortunately, I was able to get the eclipse PDT (formally PhpIDE) working with XDebug. Pull down the PDT 0.7RC2 all-in-one (includes Eclipse 3.2 ) – http://download.eclipse.org/tools/php/downloads/ Get XDebug (RC3) to match my php (Windows, 5.1.4) – http://xdebug.org/link.php?url=xdebug200rc3-512-win Install XDebug – I am using xampp, so I save the XDebug dll in xampp_path\php\extensions. Enable XDebug – Modified xampp_path\apache\bin\php.ini – comment out existing zend_extension_ts and add [xdebug] xdebug.remote_enable=1<br/>xdebug.remote_host="localhost" xdebug.remote_port=9000<br />xdebug.remote_handler="dbgp" zend_extension_ts="xampp_path\php\extensions\php_xdebug-2.0.0rc2-5.1.2.dll" Restart apache, and check phpinfo() to make sure XDebug has been successfully installed Get Dave Kelsey’s XDebug for PDT plugin (version 0.1.3) – https://bugs.eclipse.org/bugs/show_bug.cgi?id=169408 Copy plug-in files into Eclipse plugin directory I needed to convert my phpeclipse projects into PDT projects. Close the projects, and edit their .project files, changing their natures to <nature>org.eclipse.php.core.PHPNature</nature> , then reopen the projects Lastly, follow the excellent directions in the XDebugPHPIDEGuide.pdf online help to set up a Debug web launch and debug away. tao's blog Add new comment
Setting up Eclipse PDT and XDebug Submitted by tao on Thu, 2007-02-08 12:57 Drupal eclipse php
Drupal
eclipse
php
Update (since a lot of people still seem to be coming to this page): The latest version of PDT is 1.0.2, which works with Eclipse 3.3, and it is excellent. The Xdebug plugin is now part of the core package, and the instructions on how to use it are part of the standard help.
I decide to move into the word of real-time debugging today. I have been using the PHPEclipse plug in, but I could not find a 5.1.4 version of the debugger it uses. Fortunately, I was able to get the eclipse PDT (formally PhpIDE) working with XDebug.
Pull down the PDT 0.7RC2 all-in-one (includes Eclipse 3.2 ) – http://download.eclipse.org/tools/php/downloads/
Get XDebug (RC3) to match my php (Windows, 5.1.4) – http://xdebug.org/link.php?url=xdebug200rc3-512-win
Install XDebug – I am using xampp, so I save the XDebug dll in xampp_path\php\extensions.
Enable XDebug – Modified xampp_path\apache\bin\php.ini – comment out existing zend_extension_ts and add [xdebug] xdebug.remote_enable=1<br/>xdebug.remote_host="localhost" xdebug.remote_port=9000<br />xdebug.remote_handler="dbgp" zend_extension_ts="xampp_path\php\extensions\php_xdebug-2.0.0rc2-5.1.2.dll"
Restart apache, and check phpinfo() to make sure XDebug has been successfully installed
Get Dave Kelsey’s XDebug for PDT plugin (version 0.1.3) – https://bugs.eclipse.org/bugs/show_bug.cgi?id=169408
Copy plug-in files into Eclipse plugin directory
I needed to convert my phpeclipse projects into PDT projects. Close the projects, and edit their .project files, changing their natures to <nature>org.eclipse.php.core.PHPNature</nature> , then reopen the projects
Lastly, follow the excellent directions in the XDebugPHPIDEGuide.pdf online help to set up a Debug web launch and debug away.
Add new comment
#1 Submitted by Anonymous on Sat, 2007-02-17 16:56. Link to XDebugPHPIDEGuide.pdf ?? I can't find a link to the pdf document using google?? I am also not having luck getting the xdebug successfully installed according to phpinfo() .... I seem to be following your instructions reply
I can't find a link to the pdf document using google??
I am also not having luck getting the xdebug successfully installed according to phpinfo() .... I seem to be following your instructions
reply
#2 Submitted by tao on Tue, 2007-02-20 11:37. It is in the zip XDebugPHPIDEGuide.pdf is included in zip along with the XDebug for PDT plugin (https://bugs.eclipse.org/bugs/show_bug.cgi?id=169408). There are all sorts of ways to screw up the XDebug instillation. It took me about a dozen tries (these notes are as much for me as everyone else). Your versions of XDebug & PHP must be compatible. You need to be sure to modify the correct php.ini file (XAMPP installs 3 of them, check phpinfo). You need to get all the paths correct (don't just copy the string "xampp_path" - you need to use your own install path). And you need to comment out any other references to "zend_extension_ts" in the php.ini file. Those were all stumbling blocks for me. reply
XDebugPHPIDEGuide.pdf is included in zip along with the XDebug for PDT plugin (https://bugs.eclipse.org/bugs/show_bug.cgi?id=169408). There are all sorts of ways to screw up the XDebug instillation. It took me about a dozen tries (these notes are as much for me as everyone else). Your versions of XDebug & PHP must be compatible. You need to be sure to modify the correct php.ini file (XAMPP installs 3 of them, check phpinfo). You need to get all the paths correct (don't just copy the string "xampp_path" - you need to use your own install path). And you need to comment out any other references to "zend_extension_ts" in the php.ini file. Those were all stumbling blocks for me.
#3 Submitted by Anonymous on Fri, 2007-03-23 16:03. Variable value is not encoding correctlly In eclipse ide, the variable value is showing a very strange value, for examle: In code: $msg = "This is a message"; when debuging, in variable windows, the value of the variable $msg is showing this: VGhpcyBpcyBhIG1lc3NhZ2U= what's wrong? thanks Simon reply
In eclipse ide, the variable value is showing a very strange value, for examle: In code: $msg = "This is a message";
when debuging, in variable windows, the value of the variable $msg is showing this:
VGhpcyBpcyBhIG1lc3NhZ2U=
what's wrong?
thanks
Simon
#4 Submitted by Anonymous on Mon, 2007-03-26 05:03. It happend to me too, after It happend to me too, after last xdebug plugin update reply
It happend to me too, after last xdebug plugin update
#5 Submitted by tao on Mon, 2007-03-26 10:15. Not something I have seen Not something I have seen, using the Xdebug plugin labeled: "Prebuilt Binary of XDebug V0.1.3 support for PDT RC2 only". You might try contacting the creator of the plugin. reply
Not something I have seen, using the Xdebug plugin labeled: "Prebuilt Binary of XDebug V0.1.3 support for PDT RC2 only". You might try contacting the creator of the plugin.
#6 Submitted by Anonymous on Fri, 2007-03-30 11:29. How to contact to the creator? Thanks Simon reply
#7 Submitted by Anonymous on Sat, 2007-03-31 15:51. Var encoding : V0.1.3 is OK I also had troubles with var encoding using 0.1.4, but everything is OK with previous 0.1.3 - which requires the PDT-RC2 : http://download.eclipse.org/tools/pdt/downloads/?release=S20070130-RC2 Many many thanks to you for this post, tao, it helped me tremendously :-) reply
I also had troubles with var encoding using 0.1.4, but everything is OK with previous 0.1.3 - which requires the PDT-RC2 : http://download.eclipse.org/tools/pdt/downloads/?release=S20070130-RC2
Many many thanks to you for this post, tao, it helped me tremendously :-)
#8 Submitted by tao on Sun, 2007-04-01 00:19. Your welcome And I updated the post to let people know they should still with version 0.1.3. cheers, -t reply
And I updated the post to let people know they should still with version 0.1.3.
cheers, -t
#9 Submitted by Anonymous on Fri, 2007-04-06 11:53. I still have the problem with var encoding using V0.1.3 Thanks a lot for the feed back. But I am still having the problem with var encoding using V0.1.3: My environment: OS: Windows XP PHP: 5.2.1 Exclipse: Version: 3.2.1, Build id: M20060921-0945 PDT: 0.7 S20070130-RC2 (0.7.0.v20070130) XDebug: V0.1.3 Would you tell me if php 5.2.1 has the problem? or do I need to do something in php.ini? reply
Thanks a lot for the feed back.
But I am still having the problem with var encoding using V0.1.3:
My environment:
OS: Windows XP PHP: 5.2.1 Exclipse: Version: 3.2.1, Build id: M20060921-0945 PDT: 0.7 S20070130-RC2 (0.7.0.v20070130) XDebug: V0.1.3
Would you tell me if php 5.2.1 has the problem? or do I need to do something in php.ini?
#10 Submitted by Anonymous on Wed, 2008-08-13 08:53. It does look like a Base64 It does look like a Base64 encoding of your variable. Effectively, when you decode the "VGhpcyBpcyBhIG1lc3NhZ2U=" with a Base64Decoder, you obtain : "This is a message". Don't know if that bother you again.. reply
It does look like a Base64 encoding of your variable.
Effectively, when you decode the "VGhpcyBpcyBhIG1lc3NhZ2U=" with a Base64Decoder, you obtain : "This is a message".
Don't know if that bother you again..
#11 Submitted by Anonymous on Mon, 2007-04-23 14:41. Anybody tried this with PDT RC3? I followed the instructions above, substituting PDT RC3 and then the xdebug plugins 0.2.0. The problem for me is that after copying the plugins to Eclipse's plugin directory, I started up PDT and went to preferences->PHP->Debug just like it describes in the documentation and I get the error "Error Creation Extension-Point org.eclipse.php.ui.phpPreferenceBlocks". Anybody else getting a similar error? I'm going to try downgrading and see if that fixes it. reply
I followed the instructions above, substituting PDT RC3 and then the xdebug plugins 0.2.0.
The problem for me is that after copying the plugins to Eclipse's plugin directory, I started up PDT and went to preferences->PHP->Debug just like it describes in the documentation and I get the error "Error Creation Extension-Point org.eclipse.php.ui.phpPreferenceBlocks".
Anybody else getting a similar error? I'm going to try downgrading and see if that fixes it.
#12 Submitted by Anonymous on Mon, 2007-04-23 18:10. UPDATE: Downgrading fixed the problem I'm the guy who posted above. When I downgraded to PDT RC2 and plugins 0.1.4 then the problem went away. reply
I'm the guy who posted above. When I downgraded to PDT RC2 and plugins 0.1.4 then the problem went away.
#13 Submitted by Anonymous on Wed, 2007-04-25 03:55. PDT RC3 also causing problems I tried this version and am getting the same error. Have you managed to downgrade yet? If so, was it successful ? reply
I tried this version and am getting the same error. Have you managed to downgrade yet? If so, was it successful ?
#14 Submitted by Anonymous on Mon, 2007-04-30 09:24. Which version of Java are Which version of Java are you using ? The Xdebug plugin for RC3 was built using Java 5, so won't work with Java 1.4.2. reply
Which version of Java are you using ? The Xdebug plugin for RC3 was built using Java 5, so won't work with Java 1.4.2.
#15 Submitted by Anonymous on Tue, 2007-05-01 02:33. XDebug version 0.2.0 XDebug v0.2.0 requires Java 5 to work, so people having problems with unsupported class version are most likely trying to use Java 1.4.2. reply
XDebug v0.2.0 requires Java 5 to work, so people having problems with unsupported class version are most likely trying to use Java 1.4.2.
#16 Submitted by Anonymous on Tue, 2007-05-29 08:38. PHP/Debug window diferent Hi all, I have PDT All-in-One (Eclipse 3.2 + PDT RC3) and my Window/Preferences.../PHP/Debug window is diferent from window showed at page 7 of Dave Debug guide, so I can't set up xdebug in eclipse. Could anybody help me? Thanks in advance reply
Hi all,
I have PDT All-in-One (Eclipse 3.2 + PDT RC3) and my Window/Preferences.../PHP/Debug window is diferent from window showed at page 7 of Dave Debug guide, so I can't set up xdebug in eclipse. Could anybody help me?
Thanks in advance
#17 Submitted by Anonymous on Fri, 2007-07-27 07:51. Re: PHP/Debug window diferent i let eclipse(3.2) search for updates and installed all the updates i received. that made eclipse show me the xdebug-part as it's shown in the PDF. so maybe give that a try. reply
i let eclipse(3.2) search for updates and installed all the updates i received. that made eclipse show me the xdebug-part as it's shown in the PDF. so maybe give that a try.
#18 Submitted by Anonymous on Fri, 2007-07-20 16:56. Thank you! Thanks for putting this guide together. This was a huge help in setting up my local development instance. My only advice to anyone else -- ensure that you have JDK 1.5 installed. reply
Thanks for putting this guide together. This was a huge help in setting up my local development instance. My only advice to anyone else -- ensure that you have JDK 1.5 installed.
#19 Submitted by Anonymous on Sat, 2007-09-08 15:33. Thanks Thanks for your help! One note of caution, though. Extensions is wrongly spelled in your guide as "extentions". Since I copy pasted from here, it took a while for me to figure out why XDebug was not getting installed :) I am still struggling with the install...but will hopefully get there. You guide is very helpful! Thanks. reply
Thanks for your help! One note of caution, though. Extensions is wrongly spelled in your guide as "extentions". Since I copy pasted from here, it took a while for me to figure out why XDebug was not getting installed :)
I am still struggling with the install...but will hopefully get there. You guide is very helpful! Thanks.
#20 Submitted by tao on Sun, 2007-09-09 21:32. Whoops, I have updated the Whoops, I have updated the spelling in the article. Thanks. reply
Whoops, I have updated the spelling in the article. Thanks.
#21 Submitted by Anonymous on Fri, 2007-09-14 09:05. you dont need xdebug Hi, you don't really need xdebug imho. i'm on OSX 10.4.10 first i installed a full pdt build from http://download.eclipse.org/tools/pdt/downloads/?release=S20070910-RC1 then i made an update through the update manager and installed http://www.zend.com/pdt#debugger - Open Eclipse and go to Help-> Software Updates-> Find and Install - Select "Search for new features to install" and click "Next" - Create a New Remote Site with the following details: o Name: PDT o URL: http://downloads.zend.com/pdt - Check the PDT box and click "Next" to start the installation Lastly, make a test project to see if it works : it did work fine on my box ;) reply
you don't really need xdebug imho.
i'm on OSX 10.4.10
first i installed a full pdt build from http://download.eclipse.org/tools/pdt/downloads/?release=S20070910-RC1
then i made an update through the update manager and installed http://www.zend.com/pdt#debugger - Open Eclipse and go to Help-> Software Updates-> Find and Install - Select "Search for new features to install" and click "Next" - Create a New Remote Site with the following details: o Name: PDT o URL: http://downloads.zend.com/pdt - Check the PDT box and click "Next" to start the installation
Lastly, make a test project to see if it works :
it did work fine on my box ;)
#22 Submitted by Anonymous on Sun, 2007-12-02 05:37. You are quite right! Thanks a lot. it does work fine on my box, too. babalabo reply
Thanks a lot. it does work fine on my box, too.
babalabo
#23 Submitted by Anonymous on Sun, 2008-04-27 05:14. PDT debugging hallo can you tell me please, can you debugg mysql-connected scripst too? and when yes, how have you realised it? ( neku@starbowconsulting.com ) thanks in advance for answer reply
hallo can you tell me please, can you debugg mysql-connected scripst too? and when yes, how have you realised it? ( neku@starbowconsulting.com ) thanks in advance for answer
#24 Submitted by Anonymous on Thu, 2007-11-15 00:32. built-in in PDT 1.0 I found your post when doing some reading before installing Eclipse. When I actually went through the motions, I found that Xdebug is now included in PDT 1.0; no need for a plug-in. FYI for others who go down this path, I posted my notes on my setup (Apache2 & Eclipse on WIn XP) here: http://maarten.livejournal.com/453300.html (Thanks again for your work on BAMcamp!) reply
I found your post when doing some reading before installing Eclipse. When I actually went through the motions, I found that Xdebug is now included in PDT 1.0; no need for a plug-in.
FYI for others who go down this path, I posted my notes on my setup (Apache2 & Eclipse on WIn XP) here: http://maarten.livejournal.com/453300.html
(Thanks again for your work on BAMcamp!)
#25 Submitted by Anonymous on Wed, 2007-11-21 10:00. Some changes happened since Some changes happened since PDT v.1 so here they are. Thanks for your help! reply
Some changes happened since PDT v.1 so here they are.
Thanks for your help!
#26 Submitted by Anonymous on Wed, 2008-06-11 21:14. Step by Step guide for PDT+XDebug Here’s a detailed step-by-step article for setting up a PHP debugger using PDT+XDebug: http://robsnotebook.com/php_debugger_pdt_xdebug reply
Here’s a detailed step-by-step article for setting up a PHP debugger using PDT+XDebug:
http://robsnotebook.com/php_debugger_pdt_xdebug
#27 Submitted by Chuck Burgess (not verified) on Tue, 2008-12-09 12:54. Remote CLI Debugging via Eclipse PDT On a related note, I was able to get remote CLI script debugging working in Eclipse, though it doesn't support it natively -- http://thenazg.blogspot.com/2008/12/remote-cli-debugging-via-eclipse-pdt.html reply
On a related note, I was able to get remote CLI script debugging working in Eclipse, though it doesn't support it natively -- http://thenazg.blogspot.com/2008/12/remote-cli-debugging-via-eclipse-pdt.html
#28 Submitted by Anonymous (not verified) on Sat, 2010-08-07 04:49. Newer version of PHP does not Newer version of PHP does not work with this. See http://munim.tumblr.com/post/917355998/how-to-setup-xdebug-on-xampp-and-eclipse reply
Newer version of PHP does not work with this. See http://munim.tumblr.com/post/917355998/how-to-setup-xdebug-on-xampp-and-eclipse
Recent Drupal Posts Generational Equity Working at GoingOn Networks BADCamp 2010 Notes from BADCamp Eclipse Installfest Welcome to BADCamp 2009 Example from Intro to Module Development Presentation Quick WYSIWYG with Image uploading recipe more Recent comments Hi Tao! Can you post 2 years 20 weeks ago Mayk Brito on: Working at GoingOn Networks No way 2 years 20 weeks ago tao on: Mysqldump and Unicode This only works for the first item in a node reference results.. 2 years 24 weeks ago Anonymous on: Reverse Node References On drupal.org? 2 years 24 weeks ago Simon on: Wikis in Drupal 6 - Module R... $form_state in Drupal 6 2 years 28 weeks ago vagkavan on: The best way to show results... more Tweets by @tstarbow Sad that the @typesafe repo is down. 30 weeks 2 days ago Feeling very at home with the Dead Can Dance crowd. 33 weeks 4 days ago @netsolcares Can you confirm/deny DDOS attack? 33 weeks 6 days ago @boss99er Geez, that is not good. 33 weeks 6 days ago 1 of 60 ›› Follow me on Twitter Today's popular content The Problem with Popups (91) Twittered Notes from Voices That Matter Web Developement Conference (86) Quick WYSIWYG with Image uploading recipe (14) Notes on Drag & Drop with Interface (9) Replacing a live Drupal site with a static archive (7) more User login Username: * Password: * Request new password
Generational Equity Working at GoingOn Networks
BADCamp 2010
Notes from BADCamp Eclipse Installfest
Welcome to BADCamp 2009
Example from Intro to Module Development Presentation
Quick WYSIWYG with Image uploading recipe
Hi Tao! Can you post 2 years 20 weeks ago Mayk Brito on: Working at GoingOn Networks
No way 2 years 20 weeks ago tao on: Mysqldump and Unicode
This only works for the first item in a node reference results.. 2 years 24 weeks ago Anonymous on: Reverse Node References
On drupal.org? 2 years 24 weeks ago Simon on: Wikis in Drupal 6 - Module R...
$form_state in Drupal 6 2 years 28 weeks ago vagkavan on: The best way to show results...
Sad that the @typesafe repo is down. 30 weeks 2 days ago
Feeling very at home with the Dead Can Dance crowd. 33 weeks 4 days ago
@netsolcares Can you confirm/deny DDOS attack? 33 weeks 6 days ago
@boss99er Geez, that is not good. 33 weeks 6 days ago
1 of 60
The Problem with Popups (91)
Twittered Notes from Voices That Matter Web Developement Conference (86)
Quick WYSIWYG with Image uploading recipe (14)
Notes on Drag & Drop with Interface (9)
Replacing a live Drupal site with a static archive (7)
Request new password