move debug_platform over into to-be-integrated