Install the Xdebug helper extension for Chrome from the Chrome Web Store.
While Xdebug is a powerful tool and will absolutely save you loads of time, there's a dark side. Finally, load your local site's home and watch how PhpStorm will pause code execution at your breakpoint in the index.php file. PhpStorm bookmarklets generator otherwise.Īlso ensure that PhpStorm is still set to listen to incoming Xdebug connections. Z-Ray for Zend Server version 7 or later. The following table lists the available debugging extensions. While you can do it manually, it is more convenient to use a browser extension, which lets you enable the debugger with a single click. To do this, you need to set a special GET/POST or COOKIE parameter (see the Xdebug and Zend Debugger official documentation for details).
In order to start debugging, you first need to activate the debugger engine on the server. PHP安装xdebug扩展 php.ini的配置,下面的配置仅供参考,路径要换成自己的! Postman You only need to specify the cookie Add once in XDEBUGSESSION=PHPSTORM that will do PhpStorm Only need to open Listening Debug Connections (the one on the right in the top path bar Small phone Icon). Note that if you use nginx + php-fpm, then the 9000 port may be occupied by php-fpm, please replace the port, such as 9001. Make sure that the Xdebug port in phpstorm is also 9000 (the same as wamp’s Xdebug port): File Setting searches Xdebug in the search box.