title: How to debug sublime plugins during development
body: <p>I want to debug my plugin with pdb but it doesn't work. I get these errors</p>
  
  <pre><code>Traceback (most recent call last):
    File "./sublime_plugin.py", line 362, in run_
    File "./useIt.py", line 14, in run
      for region in self.view.sel():
    File "./useIt.py", line 14, in run
      for region in self.view.sel():
    File ".\bdb.py", line 46, in trace_dispatch
    File ".\bdb.py", line 65, in dispatch_line
  bdb.BdbQuit
  </code></pre>
  
  <p><strong>Has anyone an idea? Or some other way to debug a sublime plugin?</strong></p>