add __MCP_MIDDLEWARE_NAME,__MCP_MIDDLEWARE_VERSION for debug