intermediate debug