Posts Tagged ‘howto’

Debugging Symfony with Zend Studio

Wednesday, November 4th, 2009

I must confess, Zend Studio 5.5 (haven’t upgraded to Zend Studio for Eclipse yet) is a fantastic tool.  I do all my php development in this environment, and the benefits are huge.

While I have been using the debugger triggered through the web browsing environment for several years, today I figured out how to debug code executed from the Command Line Interface.

QUERY_STRING=”start_debug=1&debug_host=127.0.0.1&no_remote=1&debug_port=10000&debug_stop=1″ ./symfony project:create-orders –application=admin

When you combine Zend Studio, Zend Debugger, the Zend Framework, and the Symfony framework you have a combination that can’t be beat!

Thanks to the Zend knowledge base for the CLI tip!