add debug platform
#35 move editor extends to editor