add writable check for in_debug_agent's unix_path and out_file's path