0
My friends, good afternoon
I’m new to the piece, I mean, in the PHP development area and I’m making the settings to debug an application in Cakephp 2.6.
I followed all the XDEBUG documentation, downloaded the version compatible to my PHP 5.6 (Windows 64bits), includes the file in the folder below, inside my local directory, where I use Appserv with an apache server.
C: Appserv php5 ext php_xdebug-2.5.0-5.6-vc11-x86_64. dll
After that, second step, I set up the PHP.ini file
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=9000 (A minha aplicação está rodando na porta 9090. Mas já fiz um teste também atribuindo a porta 9090 e não funcionou).
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
Could you help me with some tips? What I’m doing wrong?
Thank you very much!
Marcelo
Thank you Renato, I will try to use Cakephp’s dephpugger and Unit test
– Marcelo C Curia