merge debug_initialize() and core_debug_initialize()