You have previously encountered the following when configuring Eclipse PHP Xdebug:
After you start debugging through webpage, you can debug, that is, "break at the".
However, breakpoint debugging cannot be done, that is, the breakpoint is not stopped when debugging, and the value of the variable cannot be seen.
This is most likely because the path mapping of PHP server is set incorrectly.
Wrong setting:
Path on Server:http://localhost/sample
Local Path:/sample
Modified to:
Path on server:/sample
Local Path:/sample
The following figure:
If you debug again, you can stop at the breakpoint correctly.
As for debugging, the value of a variable cannot be displayed, that is, a situation that is displayed as "uninitialized".
That's because of the xdebug version problem, which is that the xdebug in front of version 2.1 will have this bug.
How do you find the version you need in a number of xdebug versions?
Visit the following links:
http://xdebug.org/find-binary.php
Paste the contents of the Phpinfo () into the input box of the linked page above, and click Submit.
You will then see the results of the analysis, which is the recommended installation of the Xdebug version.