terça-feira, 7 de junho de 2016

Activating XDebug on PHP

  • Download and adequate XDebug DLL from XDebug download site section
  • Place the DLL into your PHP ext folder, mine is C:\xampp\php\ext
  • Edit your php.ini files and add this lines:
  • zend_extension = [pathToYouDLLinsideExtFolder]
    ;mine was: zend_extension =  C:\xampp\php\ext\php_xdebug-2.4.0-5.6-vc11.dll
    
    [xdebug]
    xdebug.remote_enable=1
    xdebug.remote_host=localhost
    xdebug.remote_port=9000
    

If you are using a Web Server to execute your scripts, restart it.

If you got some problem, use XDebug Wizard

Nenhum comentário:

Postar um comentário