News Feed
Sections




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

Dutch Web Alliance:
The definitive remote debug and unittest with PHPStorm guide part 6
January 09, 2014 @ 11:20:28

The Dutch Web Alliance has posted the sixth part of their series helping you debug/unit test your applications with PHPStorm and Xdebug. In this new post they focus on working with command-line applications.

So there is already a lot covered: debugging web applications, testing your units, getting code coverage. But one thing that remains is trying to debug your command line applications. Even today more and more applications aren't built for primarily the web, but for other purposes or many web frameworks have some kind of "console" component which allows you to easily create command line tools that deals with asynchronous handling of data, or just mere as cronjobs.

They walk you through the steps you'll need to be sure everything it set up correctly for PHPStorm to catch the debug calls:

  • Ensuring Xdebug is active
  • Validating that PHPStorm is listening for incoming requests
  • Configuring Xdebug on where to connect
  • Setting up the mapping for paths inside PHPStorm
0 comments voice your opinion now!
xdebug phpstorm unittest debug tutorial series part6 commandline

Link: http://dutchweballiance.nl/techblog/the-definitive-remote-debug-and-unittest-with-phpstorm-guide-part-6/

blog comments powered by Disqus

Similar Posts

NuoDB Blog: CodeIgniter - Fired Up on NuoDB

NetTuts.com: Build Web Apps from Scratch with Laravel - The Eloquent ORM

PHPClasses.org Blog: Throttling Background Tasks: Unusual Site Speedup Techniques: Part 2

Brian Swan's Blog: Getting Started with SQL Server Reporting Services (SSRS) and PHP

Godaddyhostingreview Blog: How to move Magento from Production to Live Server


Community Events

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


series voicesoftheelephpant interview api library php7 language conference version laravel example release introduction podcast extension framework laravel5 unittest opinion community

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