Quote:
Originally Posted by kovidgoyal
|
Nice!
I spent a few hours and got debugging Calibre v1.29 plugins to work with PyCharm. Unfortunately it is only possible with PyCharm Professional, since you need the ability to create Python Remote Debug configurations which is not possible with the free PyCharm Community Edition.
Since there is already the
HowTo: Debug calibre with Eclipse/PyDev thread (which I just discovered) there probably won't be much demand for debugging with PyCharm Pro.
For those interested, the process is vaguely similar. You start up a Debugger server and add code to your plugin to call settrace(). However, PyCharm also requires what they call "Path mappings" that are currently a little buggy (at least on Windows 7). If they fix this I might start another thread that explains how to debug Calibre with PyCharm Pro in more detail.