Tagged Questions
1
vote
2answers
161 views
How to debug a unit test for a WordPress plugin, which uses wordpress-test?
I'm attempting to debug a unit test for a WordPress plugin. The unit test uses wordpress-test (and PHPUnit). However, wordpress-test:
calls system(php ...)
the new external PHP process attempts to ...
0
votes
1answer
78 views
Getting a WordPress Debug Strategy
I have been reading up on debugging. I watched Chip Bennett's video on wordpress.tv and was inspired to take debugging seriously. What I have found in my reading up though has confused me a bit. I ...
2
votes
4answers
647 views
How to debug WordPress correctly?
I'm using a few plugins and UpThemes framework on my new website and if I turn on Wp Debug I can see that there are a few errors related to Deprecated functions (but website is working). What I would ...
8
votes
4answers
1k views
How to debug a plugin with Xdebug?
I was able to install and setup quite easily NetBeans 6.9.1 and Xdebug on my local environment, based on PHP 5.3.0 (XAMPP).
My problem now is the following: if I put a breakpoint on Wordpress's ...
25
votes
13answers
985 views
How do you debug plugins?
I am pretty new to plugin authoring and was having a hard time debuging.
I used lots of echo and it is sloppy and ugly.
I am sure there is a better way to do this, maybe an IDE with a debugger that ...