Ubuntu + Netbeans + Xdebug + YII Framework
http://wiki.netbeans.org/HowToConfigureXDebug
http://blogs.oracle.com/netbeansphp/entry/ubuntu_php_netbeans_part_iii
http://blogs.oracle.com/netbeansphp/entry/ubuntu_php_netbeans
These tree sources helps me to successfully setup the debugging in Netbeans through Xdebug under Ubuntu.
First of all I step over through the wizard and installed Xdebug.
After that I added to php.ini the next strings:
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
Then I run: "apt-get install php5-xdebug" and added in the file /etc/php5/cli/conf.d/xdebug.ini string "xdebug.remote_enable=on".
In the project property I added the path to YII framework in INCLUDED section for PHP.
Restart the Apache: sudo /etc/init.d/apache2 restart
http://blogs.oracle.com/netbeansphp/entry/ubuntu_php_netbeans_part_iii
http://blogs.oracle.com/netbeansphp/entry/ubuntu_php_netbeans
These tree sources helps me to successfully setup the debugging in Netbeans through Xdebug under Ubuntu.
First of all I step over through the wizard and installed Xdebug.
After that I added to php.ini the next strings:
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
Then I run: "apt-get install php5-xdebug" and added in the file /etc/php5/cli/conf.d/xdebug.ini string "xdebug.remote_enable=on".
In the project property I added the path to YII framework in INCLUDED section for PHP.
Restart the Apache: sudo /etc/init.d/apache2 restart
comments (0)