Tutorial by Examples

Have a look in your php.ini configuration file and enable Xdebug, add the following statement: [Xdebug] zend_extension=<full_path_to_xdebug_extension> xdebug.remote_enable=1 xdebug.remote_host=<the host where PhpStorm is running (e.g. localhost)> xdebug.remote_port=<the port to w...
Launch debug by clicking on the "beetle" icon: Debug window is now waiting instructions for next step: You can go to the next step by clicking F9 in the debug window or by clicking on the green arrow:
Usage Sometimes, you could have to debug code in another PhpStorm project, you have to update the configuration. PHP configuration In php.ini, edit file and put xdebug.remote_autostart = 1 PhpStorm configuration You also have to configure your IDE: In the phpStorm configuration, Max. sim...

Page 1 of 1