- First here to download Hbuilder (Hbuilder is the best phpide, you can refer to PHP is the world's best programming language), the following interface:
- Open the Debug option for Wamp (XDebug): Each time you turn on a XDebug option, Wamp restarts once, so be patient for about 10 seconds.
- The debug PHP file must be placed in the project, so we set up a project in Hbuilder first
- Create a new PHP file and then double-click on "2" to see a "breakpoint".
- Right-click in the edit box, debug mode, PHP Server
The first debug will appear the Configuration window, click OK will automatically pop up the browser to access the PHP files to be debugged
Instant Hbuilder will pop up the debug prompt, if not automatically eject, please see your taskbar hbuilder is flashing
It's simple. Exit debugging Remember to click on the small Red Square - and then in the upper right corner, click Debug View back to Development view.
How to build Wamp environment please visit http://www.cnblogs.com/my4piano/p/5304702.html
PHP Basics of how to debug PHP programs (hbuilder)