Step through wordpress code

I was wondering if anybody knew how to setup step through code for WordPress. I have tried xdebug but had no luck setting it up on my VPS. I managed to get it working on my localhost at one stage but it didn’t track WP too well in conjunction with NetBeans. It either tried to load my page without the core WP files or lost track of what was going on before I could navigate to the page I wanted to debug.

To config my xdebug install I followed all the instructions on http://xdebug.org/find-binary.php but NetBeans could not talk to my remote testing server.

For those interested here is the phpinfo() output post xdebug install: pastebin

tried to make this community wiki as I feel it’s appropriate but the checkbox turned up absent

Solutions Collecting From Web of "Step through wordpress code"