<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Carsten Lucke &#187; Eclipse</title>
	<atom:link href="http://lucke.info/tag/eclipse/feed/" rel="self" type="application/rss+xml" />
	<link>http://lucke.info</link>
	<description>personal website and blog</description>
	<lastBuildDate>Fri, 03 Feb 2012 22:34:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Debugging PHP with free tools (PDT + XDebug2)</title>
		<link>http://lucke.info/2007/08/debugging-php-with-free-tools-pdt-xdebug2/</link>
		<comments>http://lucke.info/2007/08/debugging-php-with-free-tools-pdt-xdebug2/#comments</comments>
		<pubDate>Fri, 03 Aug 2007 18:43:00 +0000</pubDate>
		<dc:creator>luckec</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Featured articles]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Debugging]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[PDT]]></category>
		<category><![CDATA[Profiling]]></category>
		<category><![CDATA[Xdebug]]></category>

		<guid isPermaLink="false">http://blog.lucke.info/2007/08/03/debugging-php-with-free-tools-pdt-xdebug2/</guid>
		<description><![CDATA[One very important part of an IDE is the ability to debug the code you write. For web-application development you mostly need remote-debugging facilities. It&#8217;s no problem to find a good IDE offering all that for Java web-development. There&#8217;s Eclipse and it provides all sorts of features that make a developer&#8217;s life easier. For PHP &#8230; <a href="http://lucke.info/2007/08/debugging-php-with-free-tools-pdt-xdebug2/">Read more <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>One very important part of an <a title="Integrated development environment - Wikipedia, the free encyclopedia" href="http://en.wikipedia.org/wiki/Integrated_development_environment">IDE</a> is the ability to debug the code you write. For web-application development you mostly need remote-debugging facilities. It&#8217;s no problem to find a good IDE offering all that for Java web-development. There&#8217;s <a title="Eclipse.org home" href="http://www.eclipse.org/">Eclipse</a> and it provides all sorts of features that make a developer&#8217;s life easier. For PHP development it&#8217;s much harder to find a free IDE that provides good (remote-)debugging features. There&#8217;s <a title="Zend Studio / Produkte / Zend Technologies GmbH" href="http://www.zend.com/products/zend_studio">Zend Studio</a> and <a title="ActiveState -  - Dynamic Tools for Dynamic Languages" href="http://www.activestate.com/Products/komodo_ide/">Komodo</a> but both aren&#8217;t free software. You get Zend Studio for about 350 EUR (~480 USD) and Komodo for 295 USD. For students Zend Studio is 25% cheaper and Komodo is 49 USD. Not free at all, isn&#8217;t it?</p>
<p>Approx. one year ago I tried to get a remote-debugging environment using <a title="PHPEclipse.net" href="http://www.phpeclipse.net">PHPEclipse</a> together with <a title="DBG | PHP Debugger and Profiler." href="http://dd.cron.ru/dbg/">DBG</a>. That was a PITA to set up and once it worked it was just awfully unstable. I figured out that the PHPEclipse people were developing a plugin to use <a title="Xdebug - Debugger and Profiler Tool for PHP" href="http://xdebug.org/">XDebug</a> but there didn&#8217;t seem to be much progress. So I stopped my efforts on free remote-debugging. <img src='http://lucke.info/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  Some weeks ago <a title="Xdebug 2 released - Derick Rethans" href="http://derickrethans.nl/">XDebug2 was released</a> and I decided to give the remote-debugging thing one more shot. I tried <a title="PDT Project" href="http://www.eclipse.org/pdt/">PDT</a> + XDebug2 and guess what &#8211; it worked out fine!</p>
<p>First of all you need a PHP installation with XDebug2. If you don&#8217;t have it installed yet (shame on you <img src='http://lucke.info/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> ), you can find instructions <a title="Xdebug: Documentation" href="http://www.xdebug.org/docs/">here</a>. Your next step should be getting <acronym title="PHP Development Tools">PDT</acronym>. I tried the latest <a title="1.0 Integration Build: I20070712" href="http://download.eclipse.org/tools/pdt/downloads/?release=I20070712">integration build</a>. Additionally you need some plugins for <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=169408">XDebug-support</a> that are only available from the PDT bugzilla:</p>
<ul>
<li><a href="https://bugs.eclipse.org/bugs/attachment.cgi?id=74296">Prebuilt Binary of XDebug Support for V0.2.3 for PDT 1.0 I20070712</a></li>
<li><a href="https://bugs.eclipse.org/bugs/attachment.cgi?id=74297">Example Mapper V0.0.2 for XDebug 0.2.3</a></li>
</ul>
<p>Once you have all that installed you can create a PHP-project in your PDT-eclipse and configure the environment (XDebug2 and PDT) for debugging. Daniel Holmström published a really good <a title="Remote debugging with PDT and Xdebug - inkompetent.se" href="http://www.inkompetent.se/wiki/php/remote_debugging_with_pdt_and_xdebug">guide</a> on how to install and set up everything in detail. If you follow his instructions you should have everything up and running within half an hour. After that you will be able to enjoy local- and remote-debugging of your PHP-scripts.</p>
]]></content:encoded>
			<wfw:commentRss>http://lucke.info/2007/08/debugging-php-with-free-tools-pdt-xdebug2/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
	</channel>
</rss>

