Extending the Pycharm debugger
Answered
Does anyone know if it's possible to write a plugin to help with debugging? Specifically, I'd like to make custom UI for viewing Tensorflow variable. Right now if you have a variable that's a TF variable, you have to open them up and look at shape, or call .numpy() on them to make things work in SciView, etc.... all of this could be made smoother and more efficient I think.
I haven't made any plugins before, so can someone give me an idea of whether this is possible? From a quick scan I don't see any API for interacting with the debugger.
Please sign in to leave a comment.
Pdmitrano,
To extend debugger with additional renderer (like image/color rendered), you need to implement the following ExtensionPoint:
You can find the existing implementation int the intellij-community repository.
Is this true for Python as well? It seems the mechanism for defining what objects map to what renderer is the java class type?
Acutally I found this! https://github.com/fabioz/PyDev.Debugger/tree/master/pydevd_plugins/extensions
Using the example test plugin for Rectangle and following those instructions worked for me.