Debug mode breaks when subclassing dash_core_component

Anyone? Or am I doing something incredibly stupid?