comment api debug and init doc