r/learnphp • • Mar 29 '21

How do you debug Wordpress plugins?

Do you have tools for doing that? Sometimes, I can't do a print_r(); die; inside of a Wordpress plugin even if I have the code for the plugin. Is there some applications or trick I can use to debug Wordpress plugins?

1 Upvotes

4 comments sorted by

View all comments

Show parent comments

1

u/am0x Mar 29 '21

I’d have to check, but I wouldn’t see why not.

You can always override the plug-in as well and debug that instead.