Support » Fixing WordPress » best way to debug a plugin ?

  • 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

  • The topic ‘best way to debug a plugin ?’ is closed to new replies.