WordPress.org

Ready to get started?Download WordPress

Forums

best way to debug a plugin ? (1 post)

  1. samba-lee
    Member
    Posted 5 years ago #

    Wondered what the best way to debug a plugin was. I fiddling with an LDAP plugin and want to browse some of the passed-to and calculated values in the script, but I can't find any method other than die() to view any data. Not impressed by WP's suggestion of using die.

    Tried php error_log() but nothing is produced.

    Turn on errors and get lots of notifications, but non to do with my script. Is there a really obvious way of writing debug info somewhere ?

    thanks

    Lee

Topic Closed

This topic has been closed to new replies.

About this Topic