add debug and cocproxy