<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Sat, 18 May 2013 08:19:46 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Mark Hamlin's Blog: Debugging xdebug (tcp, dns, ubuntu, osx, vmware) ((all at once))]]></title>
      <guid>http://www.phpdeveloper.org/news/16799</guid>
      <link>http://www.phpdeveloper.org/news/16799</link>
      <description><![CDATA[<p>
In a recent post to his blog <i>Mark Hamlin</i> talks about <a href="http://uber-code.blogspot.com/2011/08/more-debugging-xdebug-tcp-dns-ubuntu.html">some of his difficulties</a> in getting <a href="http://xdebug.org">XDebug</a> and <a href="http://netbeans.org">Netbeans</a> working together from an OSX machine hitting a Ubuntu server.
</p>
<blockquote>
For the past 18 months working with PHP, i've primarily used alternatives, not out of preference, but because netbeans xdebug integration consistently failed me.  It would (might) work with a remote apache, but would not play with scripts executed remotely from the command line.  I could be fairly sure my xdebug config was sound as I no problems with MacGDB and PHPStorm whatsoever.
</blockquote>
<p>
With a little more investigation, he discovered that it was the OSX firewall causing issues. He found that, with a new incoming connection came a confirmation box to approve the connection. This, of course, wasn't passed along to Netbeans so he never saw it. In the end, he set up a reverse SSH tunnel to bypass the firewall completely (command included).
</p>]]></description>
      <pubDate>Wed, 31 Aug 2011 13:04:43 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Derick Rethans' Blog: Remote Debugging PHP with a Firewall in the Way]]></title>
      <guid>http://www.phpdeveloper.org/news/16779</guid>
      <link>http://www.phpdeveloper.org/news/16779</link>
      <description><![CDATA[Sometime debugging PHP applications isn't as easy as just pointing your IDE directly at the server and starting to work. <i>Derick Rethans</i> has a new post talking about one such situation, <a href="http://derickrethans.nl/debugging-with-xdebug-and-firewalls.html">remote debugging with a firewall in between</a> you and the remote machine with <a href="http://xdebug.org">XDebug</a>.
</p>
<blockquote>
The PHP debugging extension Xdebug has "remote" debugging capabilities for single-step debugging PHP applications. This works by setting your favourite IDE into listening mode and instructing Xdebug (with one of the handy browser extensions for example) to initiate debugging. [...] There could however be a firewall in the way that prevents Xdebug connecting directly to your IDE's IP address. That can be because the network you are on employs NAT. [...]  In this case, there is no way Xdebug can connect to your IDE's IP address and port. Or is there?
</blockquote>
<p>
His alternative requires <a href="http://en.wikipedia.org/wiki/Secure_Shell">SSH access</a> to the remote machine - building a tunnel from your local machine to the remote server XDebug can use to get around the firewall. He explains the shell command to set up the tunnel and, a more graphical way, through the <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/">Putty</a> ssh/telnet client. A quick call to "netstat" can tell you if things are working correctly or not. All that's left then is to point your XDebug to the port on the localhost and you should be good to go on debugging.
</p>]]></description>
      <pubDate>Fri, 26 Aug 2011 11:24:17 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[David Van Couvering's Blog: Real-world experience with the new NetBeans PHP and JavaScript editors]]></title>
      <guid>http://www.phpdeveloper.org/news/10830</guid>
      <link>http://www.phpdeveloper.org/news/10830</link>
      <description><![CDATA[<p>
<i>David Van Couvering</i> has <a href="http://davidvancouvering.blogspot.com/2008/08/real-world-experience-with-new-netbeans.html">posted about</a> some of his experience with the latest version of the NetBeans editor for some of his PHP and Javascript development work.
</p>
<blockquote>Yesterday I spent the whole day trying to help a friend in need who had waded in too deep with a contract he has. He has no database experience, and was trying to customize a Wordpress plugin that uses PHP, JavaScript and MySQL. So I downloaded the <a href="http://bits.netbeans.org/dev/nightly/latest/">daily build</a> of the PHP bundle of NetBeans for 6.5 and started working.
</blockquote>
<p>
He happily notes that things like syntax highlighting, inline documentation and completion were still there in the PHP bundle as well. He also mentions a few other things that could come in handy for the IDE - ssh tunnel support (<a href="http://davidvancouvering.blogspot.com/2008/01/setting-up-ssh-tunnel-to-talk-to-remote.html">see here</a>), an "Add Column Wizard" and a "Insert DLL Wizard".
</p>]]></description>
      <pubDate>Thu, 14 Aug 2008 09:32:56 -0500</pubDate>
    </item>
  </channel>
</rss>
