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

  • 1
    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, 2012 at 0:39
  • I agree, Netbeans/WP/Xdebug all play nice, but this question relates to netbeans and/or Xdebug.
    – Wyck
    Feb 16, 2012 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, 2012 at 23:35

1 Answer 1


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

WordPress Hook Sniffer

  • 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, 2012 at 23:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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