title: How to debug python .exe file (pyinstaller)
body: <p>I have been very happy with using the pyinstaller to make windows programs (.exe files]. But I find the debugging phase very time consuming.</p>
  
  <p>I would like to pyinstaller to compile the python code so it will display the error if it crashes.</p>
  
  <p>So far I have made a <code>try</code> and <code>except</code></p>
  
  <pre><code>try:
      # My code goes here
  except Exception as e:
      print "ERROR:"
      print type(e)     # the exception instance
      print e.args
  </code></pre>
  
  <p>But it is not giving me the full crash log. </p>