First, configure the Php+xdebug
In the php.ini file plus
[xdebug]zend_extension = "D:\xampp\php\ext\php_xdebug.dll"//xdebug Dynamic library file path Xdebug.profiler_append = 0xdebug.profiler _enable = 1xdebug.remote_enable = On
Second, phpstorm configuration
1. Configure PHP
2. Configure Debug
Third, Chrome Xdebug help
1. Install Chrome Extensions Xdebug Helper. (need to turn over the wall)
2. Enter the configuration option for Xdebug Hepler, and select IDE key as Phpstorm.
3. Open your phpstorm and set a test breakpoint and turn on the upper-right monitor button.
4, and then in Google Browser access, the extension is adjusted to debug mode,
5. Refresh your previous page and you will find a dialog box and start debugging. Select the path to the main page portal file you are debugging
6, the final effect. You can debug your code to the fullest.
It's such a simple operation that you need to open Chrome's extension Xdebug set to debug so you can debug your page at any time.
Feel good classmate more praise ha! If you have any questions, leave a message.