edit debug code