# Debug CakePHP - XDebug, AppServ, NetBeans

**URL:** <https://discourse.cakephp.org/t/debug-cakephp-xdebug-appserv-netbeans/1980>\
**Category:** Need Help\
**Created:** [February 3, 2017, 12:30pm UTC](https://discourse.cakephp.org/t/debug-cakephp-xdebug-appserv-netbeans/1980 "2017-02-03T12:30:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marcelo](https://avatars.discourse-cdn.com/v4/letter/m/f17d59/32.png) [@Marcelo](https://discourse.cakephp.org/u/Marcelo)\
**Post date:** [February 3, 2017, 12:30pm UTC](https://discourse.cakephp.org/t/debug-cakephp-xdebug-appserv-netbeans/1980/1 "2017-02-03T12:30:43Z")

</div>

Hello guys, good morning!

XDEBUG Configuration

I’m trying a lot of times make xdebug works in my server (AppServ), but It has failed all times.  
The main goal is setting up debugger on NetBeans to test my CakePHP application.

I have downladed a “php\_xdebug-2.5.0-5.6-vc11.dll” and put into the folder:

C:\AppServ\php5\ext\php\_xdebug-2.5.0-5.6-vc11-x86\_64.dll

There was a configuiration into my PHP.ini where I set the xdebug module

zend\_extension=“C:\AppServ\php5\ext\php\_xdebug-2.5.0-5.6-vc11-x86\_64.dll”

xdebug.remote\_enable=1  
xdebug.remote\_handler=dbgp  
xdebug.remote\_host=localhost  
xdebug.remote\_port=9090 (I tried using 9000, but how my app is working service in 9090 port. I took this way)  
xdebug.extended\_info=1  
xdebug.default\_enable = On  
xdebug.collect\_includes = On  
xdebug.collect\_params = On  
xdebug.collect\_return = On  
xdebug.collect\_vars = On  
xdebug.dump\_globals = On

Making all this configurations, nothing happend, infortunately!

What I have make wrong in this case? Do you have any advice?

tks a lot!!!
