The following situations were encountered during eclipse PHP xdebug Configuration:
After webpage is enabled for debugging, you can perform debugging, that is, "break at the first line ".
However, resumable debugging cannot be performed, that is, when a breakpoint is debugged, it cannot be stopped, and the value of the variable cannot be seen.
This is probably because the path mapping settings of the PHP server are incorrect.
Incorrect settings:
Path on server: http: // localhost/sample
Local path:/sample
To:
Path on server:/sample
Local path:/sample
For example:
After debugging again, you can stop at the breakpoint correctly.
When debugging, variable values cannot be displayed, that is, they are all displayed as "uninitialized.
This is because of the xdebug version issue, that is, xdebug Before Version 2.1 will have this bug.
In many xdebug versions, how do I find the desired version?
Visit the following link:
Http://xdebug.org/find-binary.php
Paste the content of phpinfo () to the input box on the page above, and click Submit.
The analysis result is displayed, that is, the recommended xdebug version.