Debugging for link/unlink