I'm writing a plugin for Godot 3.x. It creates a lot of custom nodes and custom resources.

I can debug them in game easily but there are things that I can't debug, most of them are things related and tied to editor (like custom properties).

Is there a way to debug the editor? No matter if I need to use an external debugger, recompile it or something, I want to know what breaks my plugin and know its traceback, because sometimes I got things like this and I can't reproduce it in game:

If is possible, can you give me a guide or where I should be looking for, please?

Managed to solve the issue after disecting all scripts.

Kids, don't change the visibility of a CanvasItem in the constructor