WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question
I don't think this is a good fit for a wiki ... but once answers start coming in I might change my mind. – EAMann Feb 16 '12 at 0:39
I agree, Netbeans/WP/Xdebug all play nice, but this question relates to netbeans and/or Xdebug. – Wyck Feb 16 '12 at 16:35
I have only had netbeans and xdebug working nicely with non-wp sites and on local and i would prefer to test on a remote host. I am wondering how to configure it so it will follow to and/or load the page I want inside of WP – Joshua Feb 16 '12 at 23:35
up vote 0 down vote accepted

Not the same as what you want, but perhaps this plugin might be of some help?

WordPress Hook Sniffer

share|improve this answer
Not really what I was looking for. I was looking for something that is roughly equivalent to microsoft.com/visualstudio/en-us/products/2010-editions/… (Microsoft Visual Web Developer)as the plugin I am making for my client is largely independent of wordpress so I wanted to run it on a line by line basis. – Joshua Mar 25 '12 at 23:51

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.