News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Ivo Jansch's Blog:
Debugging parameters for CLI apps using Eclipse PDT
May 04, 2009 @ 08:41:18

Ivo Jansch has a new blog post today looking at a method he's come up with to debug command-line PHP applications in Eclipse PDT with their needed parameters (not as a stand-alone script).

I write quite a lot of command line utilities in PHP and luckily PDT makes it easy to debug command line scripts. The thing with command line scripts is that often they require parameters passed on the command line, and PDT offers an easy way to pass them when you debug a script.

He quickly illustrates (with a few screenshots) how to get the debugger to prompt for the values of the PHP script you've selected. You can also use a similar technique in other Eclipse-based IDEs (like Zend Studio or Aptana).

0 comments voice your opinion now!
debug application script commandline eclipse pdt zendstudio aptana prompt


blog comments powered by Disqus

Similar Posts

Alexey Zakhlestin's Blog: PHP+SCGI part 2: problem with eZComponents

Matthew Weir O'Phinney's Blog: Cgiapp2 Tutorial 2 - Pluggable Applications

PHPBuilder.com: Running PHP and Zend Framework Scripts from the Command Line

I-Programmer.info: Building a Joomla component using Eclipse for PHP

Felix Geisendorfer's Blog: Test Driven Development in Real World Apps


Community Events











Don't see your event here?
Let us know!


application hack introduction composer database security language release performance overview package component opinion podcast hhvm install framework facebook symfony2 unittest

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework