title: How to debug in Erlang?
body: <p>When I run my broadcast server, I got the error report:</p>
  
  <pre><code>=ERROR REPORT==== 14-Feb-2012::16:22:29 ===
  Error in process &lt;0.757.0&gt; with exit value: {badarg,[{mymodule1,func1,1}]}
  
  
  =ERROR REPORT==== 14-Feb-2012::16:22:30 ===
  Error in process &lt;0.751.0&gt; with exit value: {function_clause,[{mymodule2, func2,[{#Port&lt;0.2
  </code></pre>