Things get a little trickier when debugging interpreted languages (though in theory it's much easier). Futhermore you're talking about stepping through a remote process (yes, even though apache is on your own machine) which is not impossible, but how are you going to accomplish this?
On windows at work (would I use it at home?) I have this editor called PerlIDE which allows debugging of Perl complete with breakpoints & the whole shebang#! Of course this dosen't help you, but these things do exist somewhere. Why not tweak these IDEs to do this? It'll give you a good project to get rid of the free time on your hands. By the time you finish you won't remember why you did it to begin with
. I know this post was completly worthless to you, but I enjoyed writing it nonetheless.