
Well, if all the above software page 了, Start the specific configuration process PHP study Middle configuration PHP Xdebug The client is the browser plug-in ,chrome xdebug Plug in download address :Link, Of course, if possible, you can download and install directly in the store See the reference article for the specific principle The programmer ide Debug breakpoint in ,phpstorm Synchronize the debugging situation to in real time xdebug,xdebug Execute the code step by step according to the programmer's requirements - therefore xdebug and phpstorm Between, There will be many interactions, To keep debugging synchronized.xdebug Receive a request, Follow phpstorm Communicate, Stop the code at a breakpoint ,phpstorm When you get it, you'll be in ide Do breakpoint processing in.

The server receives the request, Find out xdebug plug-in unit, So it was transferred to xdebug Handle.Request from browser, By xdebug Browser plug-in blocking, After modifying the message request, continue to request the server.PHP The script is running, from Xdebug Plug in to IDE A connection, Send debugging information to IDE, And pass DBGp Interact with the protocol XDebug Debugging is a C/S structure ,Client yes PHP-Xdebug plug-in unit ,Server It is our IDE( Or whatever Editor plug-in unit ), Through the middle DBGp Protocol communication. Xdebug It's a PHP Expand, It uses DBGp agreement, Provide for the right to PHP Conduct Debugging and Profiling The ability of

It is mainly used because of its simple configuration, Graphical interface xdebug PHP Integrated environment, Download link The previous debugging environment was a little chaotic, So I decided to reconfigure, Write this article to record the problems, I hope I can help you Set up the environment
