best way to get debug output while developing plugins?