That is also my concern. I'm not sure, since I do not really know how `registerDebugHook` works.