[wp-hackers] Has anyone gotten debugging with Wordpress + Netbeans + Xdebug + XAMPP working on a Windows dev box?
jpotkanski at tribune.com
Tue May 11 15:28:06 UTC 2010
I use Netbeans 6.8 on a MAMP stack (Mac OS X). I think Jeremy Clarke on this list also uses NetBeans. For what it's worth, I beta tested the NetBeans certification and that makes me a Sun Certified Specialist for NetBeans IDE. (Queue the laughter...)
Back when at a previous employer with a windows box I had trouble getting NetBeans and XAMPP to play nice. I ended up using a separate machine with Fedora installed. I had NetBeans push files over from windows to Linux for PHP development. Worked fine.
You might be able to do a similar setup using a virtual machine.
Some gotchas: Zend optimizer and xdebug do not play nice, and you need to make sure to turn off any zend optimizer lines in php.ini .
On 5/11/10 8:17 AM, "Carl Roett" <carlroett at gmail.com> wrote:
I'm trying to get proper debugging (breakpoints, profiling, etc) working
with Wordpress on my dev machine using Netbeans, Xdebug, and XAMPP on a Win
Netbeans connects to the debugger and *will* correctly trip a breakpoint in
a single "hello world" PHP file and the wordpress "index.php" file.
However, when I set a breakpoint in a PHP file that's deeper in the tree,
say "wp-admin.php" ...the debugger ignores the breakpoint.
I can't find any useful information on this anywhere on the net.
Has anyone on this list been able to get debugging working properly? If so,
wp-hackers mailing list
wp-hackers at lists.automattic.com
More information about the wp-hackers