function rename

renames the funtion get_code into debug_code