debugging note generation