title: How to add debug information when compiling with Java's Compiler API
body: <p>What do I need to do to control whether my classes compiled with a <a href="http://java.sun.com/javase/6/docs/api/javax/tools/JavaCompiler.html" rel="nofollow noreferrer"><code>JavaCompiler</code></a> will include debug information or not?</p>
  
  <p>I'm thinking it has something to do with the <code>getTask()</code>-method's <code>options</code> parameter, but I can't find any references on whether that assumption is correct to start with, and if so, what is the correct way to control that?</p>