finish to debug context, start to debug env, still remain todo and loader to finish