title: Gimp python plugins debugging with Winpdb trouble
body: <p>I want to debug some script and I followed Omid Raha suggestion from this post
  <a href="https://stackoverflow.com/questions/20763448/writing-gimp-plugins-in-python-on-windows-how-do-i-debug-where-is-the-output">Writing gimp plugins in python on windows- how do i debug? where is the output?</a>.</p>
  
  <p>The system work so I am able to step into my code but this error happen when the execution reaches</p>
  
  <pre><code>from gimpfu import *
  </code></pre>
  
  <p>The error is :</p>
  
  <blockquote>
    <p>(pythonw.exe:3588):LibGimpBase-ERROR**:gimp_wire_write_msg: the wire
    protocol has not been initialized</p>
  </blockquote>
  
  <p>I placed at the beginning of my code file:</p>
  
  <pre><code>import rpdb2; rpdb2.start_embedded_debugger("pass")
  </code></pre>
  
  <p>If I comment this line and run the code without debugger it runs correctly.</p>
  
  <p>Thank you</p>
  
  <p>Marco</p>