: This article mainly introduces phpStorm10 breakpoint debugging. For more information about PHP tutorials, see. Download Xdebug
Preparation phase
Add a phpinfo. php file under localhost
Access http: // localhost/phpinfo. php in the browser. The following is displayed:
Ctrl+ASelect all text,Ctrl+CCopy.
Download the appropriate Xdebug official websitedllFile
Open Window: http://xdebug.org/wizard.php, add text to input box,
Follow
InstructionsStep by step.
Set
php.ini
Documents: https://www.jetbrains.com/phpstorm/help/configuring-xdebug.html
DownloadXdebug helper
Chrome online app store https://chrome.google.com/webstore/detail/xdebug-helper/eadndfjplgieldjbigjakmdgkmoaaaoc? Hl = zh-CN
Configure and select phpStorm to add the website domain name to the whitelist.
Visit the site in the whitelist and you will see the following:
Download phpStorm
Cracking
Download: https://www.jetbrains.com/phpstorm/download/#section=windows-version
Select the License server during registration and enterhttp://idea.lanyus.com/
Configure the php environment
Configure debug
- Ensure the port number and
php.inIf no port is set, the default value is9000.
- Set
DBGp Proxy
Set PHP Web Application
- Set server
- Add configuration. in the upper-right corner of phpStorm, Select
Edit Configurations...And then configure the site
Breakpoint debugging
Start Listening for PHP Debug Connections
Set breakpoints
Access this Action
PhpStorm automatically pops up. let's check the variables as follows:
Success!
The above introduces phpStorm 10 breakpoint debugging, including some content, and hope to be helpful to friends who are interested in PHP tutorials.