I have successfully installed and enabled xdebug. When I hit any URL xdebug, eclipse will successfully stop at the first line of my index.php file, but beyond there the breakpoints are ignored.
I added an entry for xdebug.remote_log, which shows what is wrong:
<- breakpoint_set -i 656 -t line -f file:///http://ift.tt/1GWuZPZ -n 196 ->
As you can see the URL contains $3F instead of a simple '?'. (don't get me started on the poor form of this URL, this design pattern was contrived a loooong time ago) The only way to stop at a line of code is to use the xdebug_break(); function.
Is there a way for me to tell xdebug to respect the URL encoding, or would it be simpler to add some sort of Rewrite in my local Apache machine? If Apache is the best way to go, any ideas on what the RewriteRule would look like?
Thanks, Sean
Aucun commentaire:
Enregistrer un commentaire