This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Blogs » Thiago Campos Viana » Debugging PHP Projects in Netbeans (...

By

Debugging PHP Projects in Netbeans ( ez Publish 5 and Symfony 2 Bundles )

Monday 30 December 2013 8:47:46 pm

  • Currently 3 out of 5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

In this tutorial I show how to debug php projects ( in this case eZ publish 5 / Symfony 2 bundles ).
I start showing how to install and configure xdebug to work with apache2 and command line. Then I show how to configure Netbeans to work with xdebug. I also show how to debug command line scripts, running with php cli.

The export command is:
export XDEBUG_CONFIG="idekey=netbeans-xdebug"

Links:

http://xdebug.org/docs/install

http://tombevers.me/2011/12/06/debugging-php-cli-scripts-with-netbeans/

Proudly Developed with from