====== Le debuggage sous PHP ====== ===== XDebug ===== ==== Installer XDebug ==== === Sous Windows === * Faire un tour sur [[https://xdebug.org/wizard|ce site pour télécharger XDebug]] pour Windows * Modifier php.ini (source : [[https://www.deborah-maitrejean.com/blog/installation-de-xdebug-avec-phpstorm-sous-windows]] )\\ ajouter : [Xdebug] zend_extension=php_xdebug-2.7.2-7.3-vc15-x86_64.dll; xdebug.remote_enable=On xdebug.remote_host=127.0.0.1 xdebug.remote_port=8000 xdebug.remote_handler=dbgp === Ressources === * [[https://www.codewall.co.uk/debug-php-in-vscode-with-xdebug/]] * [[https://stackoverflow.com/questions/67556940/xdebug-step-debug-time-out-connecting-to-debugging-client-waited-200-ms-tr]]