How do I issue a warning in a wordpress plugin?

Simple, wherever you’re working on data that’s output, just use var_dump($whatever_variable). You can also use print_r($a_variable)